Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.0007296/0.0007296, allocations: 76.45 kB / 19.91 MB, free: 4 kB / 13.93 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.0007231/0.0007231, allocations: 165.9 kB / 23.18 MB, free: 1.375 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.8722/0.8722, allocations: 177.2 MB / 203.6 MB, free: 5.777 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.7181/0.7181, allocations: 154.7 MB / 414.7 MB, free: 0.75 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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009531/0.0009531, allocations: 67.89 kB / 0.6195 GB, free: 13.14 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4142/0.4151, allocations: 102 MB / 0.7191 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.005454/0.4206, allocations: 6.483 MB / 0.7254 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.003655/0.4243, allocations: 3.039 MB / 0.7284 GB, free: 17.59 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004945/0.4247, allocations: 36 kB / 0.7284 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001374/0.4261, allocations: 0.9527 MB / 0.7294 GB, free: 17.02 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001119/0.4272, allocations: 0.522 MB / 0.7299 GB, free: 16.71 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.4283, allocations: 455.9 kB / 0.7303 GB, free: 16.48 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001206/0.4295, allocations: 1.24 MB / 0.7315 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007588/0.4303, allocations: 0.525 MB / 0.732 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008389/0.4311, allocations: 0.6841 MB / 0.7327 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005879/0.4317, allocations: 0.5199 MB / 0.7332 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 8.649e-05/0.4318, allocations: 67.53 kB / 0.7333 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006251/0.4324, allocations: 338.3 kB / 0.7336 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002606/0.4327, allocations: 318.4 kB / 0.7339 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002764/0.433, allocations: 375.6 kB / 0.7343 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001352/0.4343, allocations: 1.317 MB / 0.7356 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.4343, allocations: 7.938 kB / 0.7356 GB, free: 14.28 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4343, allocations: 0 / 0.7356 GB, free: 14.28 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.435e-05/0.4343, allocations: 1.219 kB / 0.7356 GB, free: 14.28 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001405/0.4357, allocations: 1.117 MB / 0.7367 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.4358, allocations: 8.906 kB / 0.7367 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/0.4369, allocations: 244.6 kB / 0.7369 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007677/0.4376, allocations: 0.5334 MB / 0.7374 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.586e-05/0.4377, allocations: 48.33 kB / 0.7375 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.312e-05/0.4378, allocations: 65.97 kB / 0.7375 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.4389, allocations: 1.343 MB / 0.7388 GB, free: 12.19 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/0.4389, allocations: 6.531 kB / 0.7388 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.862e-05/0.439, allocations: 33.7 kB / 0.7389 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000135/0.4391, allocations: 84.81 kB / 0.739 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008881/0.44, allocations: 0.7472 MB / 0.7397 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003108/0.4431, allocations: 4.53 MB / 0.7441 GB, free: 8.297 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008195/0.4439, allocations: 0.5061 MB / 0.7446 GB, free: 8.109 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003278/0.4443, allocations: 286.7 kB / 0.7449 GB, free: 8.004 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.432e-05/0.4443, allocations: 5.688 kB / 0.7449 GB, free: 8.004 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.4443, allocations: 42.69 kB / 0.7449 GB, free: 7.957 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=47): time 7.615e-06/0.4443, allocations: 0 / 0.7449 GB, free: 7.957 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48): time 0.002706/0.447, allocations: 1.694 MB / 0.7466 GB, free: 7.27 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.507e-05/0.4471, allocations: 56.58 kB / 0.7466 GB, free: 7.207 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005277/0.4476, allocations: 0.5135 MB / 0.7471 GB, free: 6.961 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.312e-05/0.4476, allocations: 32.66 kB / 0.7472 GB, free: 6.926 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.4478, allocations: 425.2 kB / 0.7476 GB, free: 6.586 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.19e-05/0.4479, allocations: 180.6 kB / 0.7477 GB, free: 6.445 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.448, allocations: 128.6 kB / 0.7479 GB, free: 6.375 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.176e-05/0.4481, allocations: 373 kB / 0.7482 GB, free: 6.035 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003272/0.4485, allocations: 279.2 kB / 0.7485 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004253/0.4489, allocations: 495.3 kB / 0.749 GB, free: 5.566 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008011/0.4497, allocations: 0.8039 MB / 0.7497 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.4497, allocations: 2.031 kB / 0.7497 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001398/0.4511, allocations: 1.076 MB / 0.7508 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.4511, allocations: 12.47 kB / 0.7508 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.4511, allocations: 8.516 kB / 0.7508 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000649/0.4518, allocations: 283.5 kB / 0.7511 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003258/0.4521, allocations: 125 kB / 0.7512 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004352/0.4565, allocations: 6.603 MB / 0.7577 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004962/0.457, allocations: 36.5 kB / 0.7577 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-05/0.457, allocations: 31.81 kB / 0.7577 GB, free: 14.88 MB / 0.6511 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004031/0.4574, allocations: 252 kB / 0.758 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.428e-05/0.4575, allocations: 70.08 kB / 0.758 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001126/0.4586, allocations: 0.8752 MB / 0.7589 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.4586, allocations: 5.219 kB / 0.7589 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.4586, allocations: 3.344 kB / 0.7589 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.341e-06/0.4586, allocations: 7.422 kB / 0.7589 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001953/0.4606, allocations: 1.522 MB / 0.7604 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.4606, allocations: 2.062 kB / 0.7604 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.4607, allocations: 64.66 kB / 0.7604 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004917/0.4612, allocations: 261.5 kB / 0.7607 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.8e-05/0.4613, allocations: 15.61 kB / 0.7607 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004344/0.4656, allocations: 6.592 MB / 0.7672 GB, free: 7.703 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.4656, allocations: 2.344 kB / 0.7672 GB, free: 7.703 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001467/0.4671, allocations: 0.9785 MB / 0.7681 GB, free: 7.07 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002479/0.4673, allocations: 111.3 kB / 0.7682 GB, free: 7 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.505e-05/0.4674, allocations: 15.53 kB / 0.7682 GB, free: 6.988 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/0.4676, allocations: 29.38 kB / 0.7683 GB, free: 6.973 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.4677, allocations: 43.33 kB / 0.7683 GB, free: 6.945 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.59e-05/0.4677, allocations: 19.98 kB / 0.7683 GB, free: 6.938 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003332/0.468, allocations: 343.4 kB / 0.7686 GB, free: 6.734 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6e-08/0.468, allocations: 0 / 0.7686 GB, free: 6.734 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000767/0.4688, allocations: 224.7 kB / 0.7689 GB, free: 6.711 MB / 0.6511 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000144/0.469, allocations: 118.4 kB / 0.769 GB, free: 6.602 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001418/0.4704, allocations: 1.228 MB / 0.7702 GB, free: 5.754 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.4704, allocations: 0 / 0.7702 GB, free: 5.754 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0008457/0.4712, allocations: 0.8671 MB / 0.771 GB, free: 5.07 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006952/0.4719, allocations: 215.2 kB / 0.7712 GB, free: 4.965 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/0.4738, allocations: 1.428 MB / 0.7726 GB, free: 4.043 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003444/0.4742, allocations: 417.2 kB / 0.773 GB, free: 3.801 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.4743, allocations: 44.72 kB / 0.7731 GB, free: 3.793 MB / 0.6511 GB Notification: Performance of SimCode: time 7.81e-07/0.4743, allocations: 0 / 0.7731 GB, free: 3.793 MB / 0.6511 GB Notification: Performance of Templates: time 0.01852/0.4928, allocations: 20.92 MB / 0.7935 GB, free: 4.211 MB / 0.6667 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.402363207889721] Failed to read output from testmodel.py, exit status != 0: 0.5001009472180158 0.507763151 0.07162655600000001 Calling exit ...