Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008649/0.0008649, allocations: 92.22 kB / 19.65 MB, free: 280 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.001436/0.001436, allocations: 165 kB / 23.02 MB, free: 1.551 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 1.005/1.005, allocations: 177.1 MB / 203.4 MB, free: 5.672 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8061/0.8061, allocations: 154.8 MB / 414.7 MB, free: 496 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_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_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 0.5206 GB, free: 1.965 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.47e-05/2.612e-05, allocations: 4 kB / 0.5206 GB, free: 1.961 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.004737/0.004763, allocations: 4.866 MB / 0.5253 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002754/0.007517, allocations: 1.711 MB / 0.527 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004007/0.007918, allocations: 39.62 kB / 0.527 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006769/0.008595, allocations: 214.4 kB / 0.5272 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0009941/0.009589, allocations: 454 kB / 0.5277 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008135/0.0104, allocations: 398.6 kB / 0.528 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001132/0.01153, allocations: 1.275 MB / 0.5293 GB, free: 9.027 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007215/0.01226, allocations: 0.539 MB / 0.5298 GB, free: 8.488 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007393/0.013, allocations: 0.6625 MB / 0.5305 GB, free: 7.824 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000554/0.01355, allocations: 474.7 kB / 0.5309 GB, free: 7.359 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 9.651e-05/0.01365, allocations: 68 kB / 0.531 GB, free: 7.293 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002695/0.01392, allocations: 152.7 kB / 0.5311 GB, free: 7.145 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.00025/0.01417, allocations: 331.1 kB / 0.5314 GB, free: 6.82 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002461/0.01441, allocations: 311.2 kB / 0.5317 GB, free: 6.516 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000744/0.01516, allocations: 0.7483 MB / 0.5325 GB, free: 5.766 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.01516, allocations: 0 / 0.5325 GB, free: 5.766 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.302e-06/0.01516, allocations: 3.25 kB / 0.5325 GB, free: 5.766 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.676e-05/0.01518, allocations: 0 / 0.5325 GB, free: 5.766 MB / 0.4948 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.001332/0.01651, allocations: 1.179 MB / 0.5336 GB, free: 4.551 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.01655, allocations: 8.031 kB / 0.5336 GB, free: 4.543 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009791/0.01753, allocations: 351.6 kB / 0.534 GB, free: 4.199 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008402/0.01837, allocations: 0.5667 MB / 0.5345 GB, free: 3.613 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.335e-05/0.0184, allocations: 49.67 kB / 0.5346 GB, free: 3.566 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.946e-05/0.01848, allocations: 68.36 kB / 0.5346 GB, free: 3.5 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008838/0.01937, allocations: 1.078 MB / 0.5357 GB, free: 2.215 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.01939, allocations: 4.188 kB / 0.5357 GB, free: 2.211 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.109e-05/0.01944, allocations: 36.36 kB / 0.5357 GB, free: 2.176 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001109/0.01955, allocations: 85.19 kB / 0.5358 GB, free: 2.09 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005203/0.02007, allocations: 362.3 kB / 0.5361 GB, free: 1.738 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004161/0.02423, allocations: 5.712 MB / 0.5417 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005396/0.02477, allocations: 288.7 kB / 0.542 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002085/0.02498, allocations: 137.1 kB / 0.5421 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.874e-05/0.02501, allocations: 11.31 kB / 0.5421 GB, free: 11.4 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.02504, allocations: 45.89 kB / 0.5422 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=47): time 1.764e-06/0.02504, allocations: 3.938 kB / 0.5422 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=48): time 0.001939/0.02698, allocations: 1.085 MB / 0.5432 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.02701, allocations: 55.91 kB / 0.5433 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003731/0.02738, allocations: 0.5336 MB / 0.5438 GB, free: 9.629 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.02741, allocations: 38.89 kB / 0.5439 GB, free: 9.586 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.02761, allocations: 474.6 kB / 0.5443 GB, free: 9.113 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.609e-05/0.0277, allocations: 178.5 kB / 0.5445 GB, free: 8.938 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/0.02784, allocations: 129.8 kB / 0.5446 GB, free: 8.801 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.02801, allocations: 0.543 MB / 0.5451 GB, free: 8.246 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001746/0.02818, allocations: 113.9 kB / 0.5452 GB, free: 8.137 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003116/0.0285, allocations: 428.6 kB / 0.5456 GB, free: 7.586 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005156/0.02901, allocations: 0.5759 MB / 0.5462 GB, free: 6.887 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.02901, allocations: 0.625 kB / 0.5462 GB, free: 6.887 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0009118/0.02993, allocations: 0.7578 MB / 0.547 GB, free: 6.117 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.02995, allocations: 9.719 kB / 0.547 GB, free: 6.109 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.02995, allocations: 4 kB / 0.547 GB, free: 6.105 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007679/0.03072, allocations: 301.8 kB / 0.5473 GB, free: 5.805 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000266/0.03099, allocations: 131.7 kB / 0.5474 GB, free: 5.676 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004188/0.03518, allocations: 7.614 MB / 0.5548 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000293/0.03547, allocations: 36.91 kB / 0.5548 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.473e-05/0.0355, allocations: 31.94 kB / 0.5549 GB, free: 13.51 MB / 0.5261 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.0001913/0.0357, allocations: 206.3 kB / 0.5551 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.093e-05/0.03579, allocations: 87.77 kB / 0.5552 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001201/0.03699, allocations: 0.5448 MB / 0.5557 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.03699, allocations: 4 kB / 0.5557 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.037, allocations: 8 kB / 0.5557 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.037, allocations: 3.938 kB / 0.5557 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00134/0.03834, allocations: 1.173 MB / 0.5569 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.03835, allocations: 0 / 0.5569 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001428/0.03849, allocations: 60.39 kB / 0.5569 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007238/0.03921, allocations: 294.3 kB / 0.5572 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.561e-05/0.03924, allocations: 8.625 kB / 0.5572 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004394/0.04363, allocations: 7.602 MB / 0.5646 GB, free: 2.938 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.04364, allocations: 4 kB / 0.5646 GB, free: 2.934 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008617/0.0445, allocations: 0.727 MB / 0.5653 GB, free: 2.145 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002084/0.04471, allocations: 111.5 kB / 0.5654 GB, free: 2.035 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.164e-05/0.04475, allocations: 8.188 kB / 0.5655 GB, free: 2.027 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/0.04495, allocations: 35.97 kB / 0.5655 GB, free: 1.992 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.04507, allocations: 55.73 kB / 0.5655 GB, free: 1.938 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.403e-05/0.0451, allocations: 12 kB / 0.5655 GB, free: 1.926 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002839/0.04538, allocations: 345.4 kB / 0.5659 GB, free: 1.594 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.04538, allocations: 0 / 0.5659 GB, free: 1.594 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0008304/0.04621, allocations: 224 kB / 0.5661 GB, free: 1.375 MB / 0.5261 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.0002044/0.04642, allocations: 116.2 kB / 0.5662 GB, free: 1.254 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001405/0.04782, allocations: 1.192 MB / 0.5674 GB, free: 0 / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.04782, allocations: 0.9062 kB / 0.5674 GB, free: 0 / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007242/0.04855, allocations: 0.9699 MB / 0.5683 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006501/0.0492, allocations: 202.7 kB / 0.5685 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002189/0.05139, allocations: 1.272 MB / 0.5698 GB, free: 13.44 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001691/0.05156, allocations: 211.4 kB / 0.57 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002336/0.05179, allocations: 102 kB / 0.5701 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.698e-05/0.05188, allocations: 45.06 kB / 0.5701 GB, free: 13.08 MB / 0.5417 GB Notification: Performance of SimCode: time 9.22e-07/0.05188, allocations: 0 / 0.5701 GB, free: 13.08 MB / 0.5417 GB Notification: Performance of Templates: time 0.01488/0.06676, allocations: 11.44 MB / 0.5813 GB, free: 1.938 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.0948085226118565]