Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.001025/0.001025, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001293/0.001293, allocations: 173 kB / 23.49 MB, free: 1.059 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.032/1.032, allocations: 177.1 MB / 203.8 MB, free: 5.625 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.7975/0.7975, allocations: 154.8 MB / 415.1 MB, free: 492 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.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.465e-06/2.465e-06, allocations: 4 kB / 0.5206 GB, free: 2.309 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.236e-05/2.483e-05, allocations: 2.312 kB / 0.5206 GB, free: 2.305 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01159/0.01162, allocations: 14.93 MB / 0.5352 GB, free: 3.34 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01158/0.02319, allocations: 10.48 MB / 0.5454 GB, free: 8.871 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00131/0.0245, allocations: 79.31 kB / 0.5455 GB, free: 8.793 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.002116/0.02662, allocations: 1.735 MB / 0.5472 GB, free: 7.059 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.00379/0.03041, allocations: 1.904 MB / 0.549 GB, free: 5.164 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001339/0.03175, allocations: 0.7668 MB / 0.5498 GB, free: 4.402 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002824/0.03457, allocations: 2.839 MB / 0.5525 GB, free: 1.555 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001401/0.03597, allocations: 1.196 MB / 0.5537 GB, free: 336 kB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00194/0.03791, allocations: 2.011 MB / 0.5557 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001172/0.03908, allocations: 1.027 MB / 0.5567 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.000191/0.03928, allocations: 160 kB / 0.5568 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00097/0.04025, allocations: 0.7288 MB / 0.5575 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.000533/0.04078, allocations: 0.6511 MB / 0.5582 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0005361/0.04131, allocations: 0.6546 MB / 0.5588 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001636/0.04295, allocations: 1.817 MB / 0.5606 GB, free: 9.273 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.04295, allocations: 0 / 0.5606 GB, free: 9.273 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.032e-06/0.04295, allocations: 0 / 0.5606 GB, free: 9.273 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.149e-05/0.04299, allocations: 0 / 0.5606 GB, free: 9.273 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002241/0.04523, allocations: 2.251 MB / 0.5628 GB, free: 6.984 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.04526, allocations: 11.22 kB / 0.5628 GB, free: 6.977 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004943/0.0502, allocations: 1.805 MB / 0.5646 GB, free: 5.172 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001692/0.05189, allocations: 1.256 MB / 0.5658 GB, free: 3.879 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.583e-05/0.05194, allocations: 88.22 kB / 0.5659 GB, free: 3.793 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001701/0.05211, allocations: 132.3 kB / 0.566 GB, free: 3.664 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002291/0.0544, allocations: 2.154 MB / 0.5681 GB, free: 1.223 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.379e-05/0.05444, allocations: 15.86 kB / 0.5681 GB, free: 1.207 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001201/0.05456, allocations: 59.97 kB / 0.5682 GB, free: 1.148 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003299/0.05489, allocations: 195.9 kB / 0.5684 GB, free: 0.957 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001352/0.05624, allocations: 0.8479 MB / 0.5692 GB, free: 108 kB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007058/0.0633, allocations: 8.354 MB / 0.5773 GB, free: 7.559 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001423/0.06472, allocations: 0.8354 MB / 0.5782 GB, free: 6.719 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000487/0.0652, allocations: 361.1 kB / 0.5785 GB, free: 6.367 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 5.269e-05/0.06526, allocations: 22.69 kB / 0.5785 GB, free: 6.348 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.06529, allocations: 46.39 kB / 0.5786 GB, free: 6.293 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=89): time 1.863e-06/0.06529, allocations: 0 / 0.5786 GB, free: 6.293 MB / 0.5417 GB Notification: Performance of matching and sorting (n=153): time 0.01092/0.07621, allocations: 5.913 MB / 0.5844 GB, free: 376 kB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.07626, allocations: 72.72 kB / 0.5844 GB, free: 288 kB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008639/0.07712, allocations: 1.012 MB / 0.5854 GB, free: 15.26 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 9.569e-05/0.07722, allocations: 49.7 kB / 0.5855 GB, free: 15.2 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007531/0.07797, allocations: 0.8136 MB / 0.5863 GB, free: 14.38 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003389/0.07831, allocations: 0.5383 MB / 0.5868 GB, free: 13.84 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003574/0.07866, allocations: 285.1 kB / 0.587 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.339e-05/0.07876, allocations: 476.8 kB / 0.5875 GB, free: 13.09 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006896/0.07945, allocations: 499.7 kB / 0.588 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008329/0.08028, allocations: 0.8469 MB / 0.5888 GB, free: 11.62 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001551/0.08183, allocations: 1.387 MB / 0.5902 GB, free: 10.11 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.08184, allocations: 4 kB / 0.5902 GB, free: 10.1 MB / 0.5573 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.004795/0.08663, allocations: 2.798 MB / 0.5929 GB, free: 7.258 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/0.08665, allocations: 8 kB / 0.5929 GB, free: 7.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.08667, allocations: 8 kB / 0.5929 GB, free: 7.242 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004415/0.09108, allocations: 1.673 MB / 0.5945 GB, free: 5.539 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007228/0.09181, allocations: 307.5 kB / 0.5948 GB, free: 5.238 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01505/0.1069, allocations: 19.38 MB / 0.6138 GB, free: 0.8945 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001366/0.1082, allocations: 195.7 kB / 0.6139 GB, free: 0.7031 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.1083, allocations: 63.97 kB / 0.614 GB, free: 0.6406 MB / 0.573 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004654/0.1088, allocations: 248.3 kB / 0.6142 GB, free: 396 kB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000278/0.1091, allocations: 215 kB / 0.6144 GB, free: 180 kB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004535/0.1136, allocations: 2.718 MB / 0.6171 GB, free: 13.41 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-06/0.1136, allocations: 16 kB / 0.6171 GB, free: 13.39 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.587e-05/0.1136, allocations: 16 kB / 0.6171 GB, free: 13.38 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.1136, allocations: 7.969 kB / 0.6171 GB, free: 13.37 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006278/0.1199, allocations: 4.077 MB / 0.6211 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.1199, allocations: 7.938 kB / 0.6211 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005589/0.1205, allocations: 239.6 kB / 0.6214 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003957/0.1244, allocations: 1.606 MB / 0.6229 GB, free: 7.297 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.195e-05/0.1245, allocations: 47.95 kB / 0.623 GB, free: 7.25 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01781/0.1423, allocations: 19.28 MB / 0.6418 GB, free: 3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.1423, allocations: 7.938 kB / 0.6418 GB, free: 2.992 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005674/0.148, allocations: 2.619 MB / 0.6444 GB, free: 276 kB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006917/0.1487, allocations: 398.7 kB / 0.6447 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000201/0.1489, allocations: 28 kB / 0.6448 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/0.15, allocations: 207.7 kB / 0.645 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005563/0.1505, allocations: 160.9 kB / 0.6451 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001199/0.1507, allocations: 55.97 kB / 0.6452 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0007106/0.1514, allocations: 0.6097 MB / 0.6458 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-07/0.1514, allocations: 4 kB / 0.6458 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001814/0.1532, allocations: 0.6523 MB / 0.6464 GB, free: 14.16 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000273/0.1535, allocations: 143.1 kB / 0.6465 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.004864/0.1583, allocations: 3.426 MB / 0.6499 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.1583, allocations: 12.06 kB / 0.6499 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.003158/0.1615, allocations: 2.776 MB / 0.6526 GB, free: 7.508 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001601/0.1631, allocations: 0.5242 MB / 0.6531 GB, free: 7.012 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005118/0.1682, allocations: 3.216 MB / 0.6563 GB, free: 3.727 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005601/0.1688, allocations: 0.5004 MB / 0.6568 GB, free: 3.191 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0009117/0.1697, allocations: 317.2 kB / 0.6571 GB, free: 2.875 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003082/0.17, allocations: 108.4 kB / 0.6572 GB, free: 2.77 MB / 0.6198 GB Notification: Performance of SimCode: time 1.052e-06/0.17, allocations: 0 / 0.6572 GB, free: 2.77 MB / 0.6198 GB Notification: Performance of Templates: time 0.2541/0.4241, allocations: 47.48 MB / 0.7035 GB, free: 178.3 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.069455651100725]