Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007702/0.0007702, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007377/0.0007377, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8415/0.8415, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.6961/0.6961, allocations: 154.6 MB / 414.5 MB, free: 0.7812 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.6193 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.837e-05/2.981e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.005246/0.005276, allocations: 5.883 MB / 0.6251 GB, free: 7.176 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003434/0.00871, allocations: 3.118 MB / 0.6281 GB, free: 4.047 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000505/0.009215, allocations: 47.56 kB / 0.6282 GB, free: 4 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001367/0.01058, allocations: 0.9245 MB / 0.6291 GB, free: 3.074 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0008896/0.01147, allocations: 0.4932 MB / 0.6296 GB, free: 2.578 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000917/0.01239, allocations: 0.5088 MB / 0.6301 GB, free: 2.07 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0013/0.01369, allocations: 1.127 MB / 0.6312 GB, free: 0.9375 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007123/0.0144, allocations: 0.5061 MB / 0.6316 GB, free: 436 kB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007625/0.01516, allocations: 0.6117 MB / 0.6322 GB, free: 15.81 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005257/0.01569, allocations: 438.8 kB / 0.6327 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.593e-05/0.01575, allocations: 60 kB / 0.6327 GB, free: 15.32 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006289/0.01638, allocations: 458.6 kB / 0.6332 GB, free: 14.88 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002154/0.0166, allocations: 307.1 kB / 0.6335 GB, free: 14.57 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001965/0.0168, allocations: 271.3 kB / 0.6337 GB, free: 14.31 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0009503/0.01775, allocations: 1.211 MB / 0.6349 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.01775, allocations: 0 / 0.6349 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.373e-06/0.01775, allocations: 0 / 0.6349 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.01776, allocations: 0 / 0.6349 GB, free: 13.09 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001081/0.01884, allocations: 1.002 MB / 0.6359 GB, free: 12.06 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.01888, allocations: 8.031 kB / 0.6359 GB, free: 12.05 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008014/0.01968, allocations: 228.2 kB / 0.6361 GB, free: 11.83 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006031/0.02029, allocations: 0.5275 MB / 0.6366 GB, free: 11.27 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/0.02031, allocations: 45.67 kB / 0.6367 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.325e-05/0.02038, allocations: 68.31 kB / 0.6367 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009533/0.02134, allocations: 1.127 MB / 0.6378 GB, free: 9.906 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/0.02136, allocations: 8.125 kB / 0.6378 GB, free: 9.898 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.279e-05/0.02141, allocations: 28.36 kB / 0.6379 GB, free: 9.871 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.489e-05/0.02147, allocations: 77.2 kB / 0.6379 GB, free: 9.797 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009306/0.0224, allocations: 0.6879 MB / 0.6386 GB, free: 9.105 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002672/0.02507, allocations: 4.398 MB / 0.6429 GB, free: 4.551 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005105/0.02558, allocations: 406.1 kB / 0.6433 GB, free: 4.141 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004615/0.02604, allocations: 392.5 kB / 0.6437 GB, free: 3.754 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.02607, allocations: 4 kB / 0.6437 GB, free: 3.75 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.02609, allocations: 38.56 kB / 0.6437 GB, free: 3.703 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=41): time 2.675e-06/0.0261, allocations: 0 / 0.6437 GB, free: 3.703 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.002639/0.02874, allocations: 1.734 MB / 0.6454 GB, free: 1.949 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.02877, allocations: 59.39 kB / 0.6454 GB, free: 1.879 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002927/0.02906, allocations: 441.8 kB / 0.6459 GB, free: 1.438 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.02908, allocations: 33.7 kB / 0.6459 GB, free: 1.398 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.02925, allocations: 396 kB / 0.6463 GB, free: 1.004 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.953e-05/0.02933, allocations: 154.7 kB / 0.6464 GB, free: 0.8516 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.02943, allocations: 110.2 kB / 0.6465 GB, free: 0.7383 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.02954, allocations: 358.8 kB / 0.6469 GB, free: 388 kB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002411/0.02978, allocations: 245.2 kB / 0.6471 GB, free: 140 kB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003254/0.0301, allocations: 461 kB / 0.6475 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000609/0.03071, allocations: 0.7572 MB / 0.6483 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.03072, allocations: 0 / 0.6483 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001075/0.03179, allocations: 1.034 MB / 0.6493 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.03181, allocations: 8 kB / 0.6493 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.03182, allocations: 8.875 kB / 0.6493 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005608/0.03238, allocations: 323 kB / 0.6496 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001729/0.03256, allocations: 107.8 kB / 0.6497 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004474/0.03703, allocations: 6.965 MB / 0.6565 GB, free: 5.863 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002202/0.03725, allocations: 32.02 kB / 0.6566 GB, free: 5.832 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.878e-05/0.03728, allocations: 24 kB / 0.6566 GB, free: 5.809 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002524/0.03753, allocations: 254.5 kB / 0.6568 GB, free: 5.551 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.146e-05/0.03758, allocations: 55.67 kB / 0.6569 GB, free: 5.496 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009684/0.03855, allocations: 0.8922 MB / 0.6577 GB, free: 4.582 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.788e-06/0.03855, allocations: 7.984 kB / 0.6578 GB, free: 4.574 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.03856, allocations: 7.938 kB / 0.6578 GB, free: 4.566 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.03856, allocations: 7.938 kB / 0.6578 GB, free: 4.559 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001786/0.04035, allocations: 1.514 MB / 0.6592 GB, free: 2.977 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.04035, allocations: 4 kB / 0.6592 GB, free: 2.973 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.275e-05/0.04044, allocations: 43.91 kB / 0.6593 GB, free: 2.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004716/0.04091, allocations: 311.4 kB / 0.6596 GB, free: 2.613 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.04093, allocations: 12 kB / 0.6596 GB, free: 2.602 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00427/0.0452, allocations: 6.97 MB / 0.6664 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.0452, allocations: 4 kB / 0.6664 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009532/0.04615, allocations: 0.9773 MB / 0.6674 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001423/0.0463, allocations: 99.52 kB / 0.6675 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.969e-05/0.04633, allocations: 16 kB / 0.6675 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.04646, allocations: 23.97 kB / 0.6675 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.125e-05/0.04654, allocations: 43.86 kB / 0.6675 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.04656, allocations: 12 kB / 0.6676 GB, free: 10 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001989/0.04676, allocations: 290.9 kB / 0.6678 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.04676, allocations: 0 / 0.6678 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005566/0.04731, allocations: 192.3 kB / 0.668 GB, free: 9.535 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001262/0.04744, allocations: 115.1 kB / 0.6681 GB, free: 9.41 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001107/0.04855, allocations: 1.156 MB / 0.6693 GB, free: 8.203 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.04855, allocations: 0 / 0.6693 GB, free: 8.203 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006186/0.04917, allocations: 0.8388 MB / 0.6701 GB, free: 7.312 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005747/0.04974, allocations: 197.4 kB / 0.6703 GB, free: 7.137 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/0.05117, allocations: 1.3 MB / 0.6715 GB, free: 5.785 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.05145, allocations: 406.8 kB / 0.6719 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.124e-05/0.05152, allocations: 40.5 kB / 0.672 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of SimCode: time 9.42e-07/0.05152, allocations: 0 / 0.672 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of Templates: time 0.2628/0.3143, allocations: 18.84 MB / 0.6903 GB, free: 93.11 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.962290765717626] Failed to read output from testmodel.py, exit status != 0: 0.3202281268313527 0.33017995899999997 0.30977259299999993 Calling exit ...