Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.0007479/0.0007479, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005233/0.005981, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001027/0.001027, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005887/0.006914, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.081/1.081, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09329/1.174, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.7825/0.7825, allocations: 155.3 MB / 399.5 MB, free: 15.8 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/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 NFInstanceAPI.mkTop(): time 0.2558/1.038, allocations: 49.14 MB / 448.6 MB, free: 5.918 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 449.9 MB, free: 4.621 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.937e-05/2.055e-05, allocations: 4.531 kB / 449.9 MB, free: 4.617 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.007895/0.007915, allocations: 9.875 MB / 459.8 MB, free: 10.77 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.007649/0.01556, allocations: 6.158 MB / 466 MB, free: 4.641 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006789/0.01624, allocations: 80.75 kB / 466.1 MB, free: 4.562 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007134/0.01696, allocations: 404.9 kB / 466.5 MB, free: 4.164 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002142/0.0191, allocations: 1.529 MB / 468 MB, free: 2.648 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000872/0.01997, allocations: 0.6615 MB / 468.6 MB, free: 1.992 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001841/0.02181, allocations: 2.756 MB / 471.4 MB, free: 15.23 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009404/0.02275, allocations: 1.161 MB / 472.6 MB, free: 14.02 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001397/0.02415, allocations: 1.77 MB / 474.3 MB, free: 12.23 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009054/0.02505, allocations: 1.075 MB / 475.4 MB, free: 11.16 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001521/0.02521, allocations: 160 kB / 475.6 MB, free: 11 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004729/0.02568, allocations: 329.8 kB / 475.9 MB, free: 10.68 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003579/0.02604, allocations: 0.5844 MB / 476.5 MB, free: 10.1 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000416/0.02645, allocations: 0.5341 MB / 477 MB, free: 9.562 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00108/0.02753, allocations: 1.456 MB / 478.5 MB, free: 8.102 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.178e-05/0.02754, allocations: 0 / 478.5 MB, free: 8.102 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.02755, allocations: 4 kB / 478.5 MB, free: 8.098 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.73e-05/0.02756, allocations: 0.9062 kB / 478.5 MB, free: 8.098 MB / 458.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.00212/0.02968, allocations: 2.342 MB / 480.8 MB, free: 5.73 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.868e-05/0.02971, allocations: 8.031 kB / 480.8 MB, free: 5.723 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002893/0.03261, allocations: 0.9121 MB / 481.7 MB, free: 4.797 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/0.03376, allocations: 1.055 MB / 482.8 MB, free: 3.703 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.87e-05/0.0338, allocations: 90.73 kB / 482.9 MB, free: 3.613 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001598/0.03396, allocations: 126.4 kB / 483 MB, free: 3.492 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/0.03552, allocations: 1.615 MB / 484.6 MB, free: 1.684 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.176e-05/0.03555, allocations: 15.86 kB / 484.6 MB, free: 1.668 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.03565, allocations: 54.23 kB / 484.7 MB, free: 1.617 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002617/0.03592, allocations: 134.8 kB / 484.8 MB, free: 1.484 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007034/0.03662, allocations: 0.5517 MB / 485.4 MB, free: 0.9297 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004897/0.04152, allocations: 5.731 MB / 491.1 MB, free: 11.07 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009083/0.04242, allocations: 0.5552 MB / 491.6 MB, free: 10.52 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002945/0.04272, allocations: 247.3 kB / 491.9 MB, free: 10.28 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.246e-05/0.04277, allocations: 16.94 kB / 491.9 MB, free: 10.26 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.0428, allocations: 39.56 kB / 491.9 MB, free: 10.21 MB / 474.7 MB Notification: Performance of pre-optimization done (n=89): time 2.715e-06/0.0428, allocations: 4.5 kB / 492 MB, free: 10.21 MB / 474.7 MB Notification: Performance of matching and sorting (n=90): time 0.006591/0.0494, allocations: 3.284 MB / 495.2 MB, free: 6.961 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.04944, allocations: 69.22 kB / 495.3 MB, free: 6.883 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005996/0.05004, allocations: 0.848 MB / 496.2 MB, free: 6.023 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.087e-05/0.05011, allocations: 44.23 kB / 496.2 MB, free: 5.977 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002633/0.05037, allocations: 0.5689 MB / 496.8 MB, free: 5.398 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000202/0.05057, allocations: 329.1 kB / 497.1 MB, free: 5.074 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002382/0.05081, allocations: 186.8 kB / 497.3 MB, free: 4.883 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.629e-05/0.0509, allocations: 349.8 kB / 497.6 MB, free: 4.535 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002498/0.05115, allocations: 204.8 kB / 497.8 MB, free: 4.34 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003642/0.05151, allocations: 434.9 kB / 498.2 MB, free: 3.82 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006837/0.0522, allocations: 0.7323 MB / 499 MB, free: 3.004 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.0522, allocations: 4 kB / 499 MB, free: 3 MB / 474.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001778/0.05398, allocations: 1.208 MB / 0.4885 GB, free: 1.766 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.054, allocations: 19.92 kB / 0.4885 GB, free: 1.746 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.05401, allocations: 5.406 kB / 0.4885 GB, free: 1.742 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002044/0.05606, allocations: 0.7793 MB / 0.4892 GB, free: 0.957 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006871/0.05674, allocations: 232.2 kB / 0.4895 GB, free: 0.7305 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00828/0.06502, allocations: 12.41 MB / 0.5016 GB, free: 3.504 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005441/0.06557, allocations: 55.97 kB / 0.5016 GB, free: 3.449 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.479e-05/0.06563, allocations: 35.97 kB / 0.5017 GB, free: 3.414 MB / 490.7 MB 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 (90): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002881/0.06592, allocations: 179.2 kB / 0.5018 GB, free: 3.23 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.06607, allocations: 124 kB / 0.502 GB, free: 3.109 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001729/0.0678, allocations: 1.193 MB / 0.5031 GB, free: 1.863 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.06781, allocations: 8 kB / 0.5031 GB, free: 1.855 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.06781, allocations: 12 kB / 0.5031 GB, free: 1.844 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.06782, allocations: 3.984 kB / 0.5031 GB, free: 1.84 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002712/0.07053, allocations: 2.015 MB / 0.5051 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.07053, allocations: 4 kB / 0.5051 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005128/0.07105, allocations: 167.9 kB / 0.5053 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002751/0.07132, allocations: 246.9 kB / 0.5055 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001721/0.07304, allocations: 0.7547 MB / 0.5062 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.81e-05/0.0731, allocations: 38.33 kB / 0.5063 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006398/0.0795, allocations: 12.07 MB / 0.5181 GB, free: 1.566 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.0795, allocations: 0 / 0.5181 GB, free: 1.566 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001597/0.0811, allocations: 1.196 MB / 0.5192 GB, free: 304 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.08121, allocations: 20 kB / 0.5193 GB, free: 284 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004112/0.08162, allocations: 35.98 kB / 0.5193 GB, free: 248 kB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/0.08177, allocations: 92.72 kB / 0.5194 GB, free: 152 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.417e-05/0.08182, allocations: 27.95 kB / 0.5194 GB, free: 124 kB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002991/0.08212, allocations: 433.1 kB / 0.5198 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.08212, allocations: 0 / 0.5198 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009775/0.0831, allocations: 471.9 kB / 0.5203 GB, free: 15.23 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 (56): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002076/0.08331, allocations: 109.5 kB / 0.5204 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00179/0.0851, allocations: 1.957 MB / 0.5223 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-05/0.08513, allocations: 23.12 kB / 0.5223 GB, free: 13.03 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001431/0.08656, allocations: 1.643 MB / 0.5239 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002686/0.08924, allocations: 4.735 MB / 0.5285 GB, free: 5.602 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007962/0.09721, allocations: 2.573 MB / 0.531 GB, free: 2.973 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.09752, allocations: 392.3 kB / 0.5314 GB, free: 2.562 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007204/0.09824, allocations: 288.7 kB / 0.5317 GB, free: 2.289 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00078/0.09902, allocations: 419 kB / 0.5321 GB, free: 1.875 MB / 0.5105 GB Notification: Performance of SimCode: time 1.112e-06/0.09902, allocations: 0 / 0.5321 GB, free: 1.875 MB / 0.5105 GB Notification: Performance of Templates: time 0.03677/0.1358, allocations: 35.59 MB / 0.5669 GB, free: 15.05 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.406256795860827]