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.001295/0.001295, allocations: 80.81 kB / 19.94 MB, free: 4.547 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.001832/0.001832, allocations: 173 kB / 23.36 MB, free: 1.133 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.102/1.102, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.8771/0.8771, allocations: 154.9 MB / 415.1 MB, free: 268 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 1.372e-06/1.372e-06, allocations: 0 / 480.4 MB, free: 6.516 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.756e-05/2.893e-05, allocations: 6.391 kB / 480.4 MB, free: 6.512 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01234/0.01237, allocations: 10.39 MB / 490.8 MB, free: 12.14 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.009096/0.02147, allocations: 6.968 MB / 497.8 MB, free: 5.203 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001003/0.02247, allocations: 75.31 kB / 497.8 MB, free: 5.129 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008797/0.02335, allocations: 392.9 kB / 498.2 MB, free: 4.742 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003281/0.02663, allocations: 1.687 MB / 499.9 MB, free: 3.066 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.02771, allocations: 0.6618 MB / 0.4888 GB, free: 2.41 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.002724/0.03043, allocations: 2.845 MB / 0.4916 GB, free: 15.56 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001136/0.03157, allocations: 1.259 MB / 0.4928 GB, free: 14.25 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001841/0.03341, allocations: 2.092 MB / 0.4949 GB, free: 12.16 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009332/0.03434, allocations: 0.9714 MB / 0.4958 GB, free: 11.2 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001412/0.03448, allocations: 156 kB / 0.496 GB, free: 11.04 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004767/0.03496, allocations: 323.6 kB / 0.4963 GB, free: 10.73 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003586/0.03532, allocations: 0.6435 MB / 0.4969 GB, free: 10.08 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004346/0.03575, allocations: 0.6429 MB / 0.4975 GB, free: 9.438 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001158/0.03691, allocations: 1.538 MB / 0.499 GB, free: 7.895 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.03691, allocations: 1.406 kB / 0.499 GB, free: 7.895 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.03692, allocations: 0 / 0.499 GB, free: 7.895 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.341e-05/0.03693, allocations: 0 / 0.499 GB, free: 7.895 MB / 474.7 MB 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.001801/0.03873, allocations: 2.006 MB / 0.501 GB, free: 5.863 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.03876, allocations: 12.02 kB / 0.501 GB, free: 5.852 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003341/0.0421, allocations: 0.865 MB / 0.5019 GB, free: 4.992 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001342/0.04345, allocations: 1.059 MB / 0.5029 GB, free: 3.895 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.236e-05/0.0435, allocations: 85 kB / 0.503 GB, free: 3.812 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001613/0.04366, allocations: 124.3 kB / 0.5031 GB, free: 3.691 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/0.04537, allocations: 1.611 MB / 0.5047 GB, free: 1.887 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.285e-05/0.04541, allocations: 19.36 kB / 0.5047 GB, free: 1.871 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/0.04551, allocations: 55.98 kB / 0.5047 GB, free: 1.816 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002884/0.0458, allocations: 146.2 kB / 0.5049 GB, free: 1.672 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007851/0.04658, allocations: 0.5728 MB / 0.5054 GB, free: 1.094 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005533/0.05212, allocations: 5.722 MB / 0.511 GB, free: 11.25 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009551/0.05307, allocations: 0.5742 MB / 0.5116 GB, free: 10.68 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003166/0.05339, allocations: 242.9 kB / 0.5118 GB, free: 10.45 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.358e-05/0.05344, allocations: 21 kB / 0.5118 GB, free: 10.42 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.05347, allocations: 40.22 kB / 0.5119 GB, free: 10.38 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 2.224e-06/0.05347, allocations: 4.594 kB / 0.5119 GB, free: 10.37 MB / 490.7 MB Notification: Performance of matching and sorting (n=90): time 0.009529/0.063, allocations: 3.892 MB / 0.5157 GB, free: 6.586 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.06303, allocations: 68.34 kB / 0.5158 GB, free: 6.508 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007183/0.06375, allocations: 0.9073 MB / 0.5166 GB, free: 5.594 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.402e-05/0.06383, allocations: 41.7 kB / 0.5167 GB, free: 5.547 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002637/0.06409, allocations: 0.5866 MB / 0.5172 GB, free: 4.953 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002055/0.0643, allocations: 325.1 kB / 0.5176 GB, free: 4.633 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002381/0.06453, allocations: 186.8 kB / 0.5177 GB, free: 4.441 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.643e-05/0.06463, allocations: 353.8 kB / 0.5181 GB, free: 4.09 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002678/0.0649, allocations: 197.8 kB / 0.5183 GB, free: 3.902 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003922/0.06529, allocations: 439 kB / 0.5187 GB, free: 3.379 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007234/0.06601, allocations: 0.714 MB / 0.5194 GB, free: 2.582 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.06602, allocations: 3.938 kB / 0.5194 GB, free: 2.578 MB / 490.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002009/0.06803, allocations: 1.269 MB / 0.5206 GB, free: 1.297 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.06805, allocations: 11.98 kB / 0.5206 GB, free: 1.285 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.06806, allocations: 8 kB / 0.5206 GB, free: 1.277 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002437/0.07049, allocations: 0.8433 MB / 0.5215 GB, free: 428 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005896/0.07108, allocations: 187.7 kB / 0.5216 GB, free: 240 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006034/0.07712, allocations: 6.978 MB / 0.5285 GB, free: 8.883 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007131/0.07783, allocations: 51.97 kB / 0.5285 GB, free: 8.832 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.295e-05/0.0779, allocations: 47.89 kB / 0.5286 GB, free: 8.785 MB / 0.4948 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 (73): * Single equations (assignments): 69 * 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,8,100.0%), (3,17,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003499/0.07825, allocations: 176.4 kB / 0.5287 GB, free: 8.602 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001673/0.07842, allocations: 127.9 kB / 0.5288 GB, free: 8.477 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002072/0.08049, allocations: 1.241 MB / 0.5301 GB, free: 7.207 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.0805, allocations: 8 kB / 0.5301 GB, free: 7.199 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.08051, allocations: 12 kB / 0.5301 GB, free: 7.188 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/0.08052, allocations: 11.97 kB / 0.5301 GB, free: 7.176 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003008/0.08353, allocations: 1.977 MB / 0.532 GB, free: 5.137 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.08353, allocations: 4 kB / 0.532 GB, free: 5.133 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000447/0.08398, allocations: 115.8 kB / 0.5321 GB, free: 5.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002125/0.0861, allocations: 0.8395 MB / 0.533 GB, free: 4.168 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.448e-05/0.08617, allocations: 23.97 kB / 0.533 GB, free: 4.145 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005926/0.09209, allocations: 6.988 MB / 0.5398 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.0921, allocations: 0 / 0.5398 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002159/0.09425, allocations: 1.274 MB / 0.541 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003991/0.09465, allocations: 244.2 kB / 0.5413 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.09477, allocations: 20 kB / 0.5413 GB, free: 11.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004836/0.09525, allocations: 47.97 kB / 0.5413 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002292/0.09548, allocations: 88.77 kB / 0.5414 GB, free: 11.06 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-05/0.09554, allocations: 23.97 kB / 0.5414 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003808/0.09592, allocations: 455.7 kB / 0.5419 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.61e-07/0.09592, allocations: 0 / 0.5419 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001379/0.0973, allocations: 491.9 kB / 0.5424 GB, free: 10.11 MB / 0.5105 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 (37): * Single equations (assignments): 33 * 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,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.0002296/0.09753, allocations: 112.3 kB / 0.5425 GB, free: 9.988 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00196/0.09949, allocations: 1.455 MB / 0.5439 GB, free: 8.48 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.699e-05/0.09951, allocations: 18.31 kB / 0.5439 GB, free: 8.465 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001289/0.1008, allocations: 1.13 MB / 0.545 GB, free: 7.281 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001353/0.1022, allocations: 0.5101 MB / 0.5455 GB, free: 6.801 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003423/0.1056, allocations: 2.527 MB / 0.548 GB, free: 4.223 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/0.1059, allocations: 396.1 kB / 0.5483 GB, free: 3.809 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007902/0.1067, allocations: 279.2 kB / 0.5486 GB, free: 3.543 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007894/0.1075, allocations: 403 kB / 0.549 GB, free: 3.145 MB / 0.5105 GB Notification: Performance of SimCode: time 1.443e-06/0.1075, allocations: 0 / 0.549 GB, free: 3.145 MB / 0.5105 GB Notification: Performance of Templates: time 0.04005/0.1476, allocations: 35.45 MB / 0.5836 GB, free: 408 kB / 0.5417 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.478097020182759]