Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.001336/0.001336, allocations: 79.36 kB / 19.18 MB, free: 2.52 MB / 14.72 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.001524/0.001524, allocations: 166.8 kB / 22.46 MB, free: 5.375 MB / 14.72 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.416/1.416, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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 1.22/1.22, allocations: 154.6 MB / 413.8 MB, free: 5.215 MB / 382.1 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 178] 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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.6186 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.065e-05/3.261e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.008637/0.008669, allocations: 5.885 MB / 0.6243 GB, free: 14.63 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005632/0.0143, allocations: 3.11 MB / 0.6274 GB, free: 11.51 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005214/0.01482, allocations: 47.56 kB / 0.6274 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002628/0.01745, allocations: 0.9179 MB / 0.6283 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001304/0.01875, allocations: 0.5048 MB / 0.6288 GB, free: 10.03 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001254/0.02001, allocations: 0.5094 MB / 0.6293 GB, free: 9.527 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001414/0.02142, allocations: 1.127 MB / 0.6304 GB, free: 8.395 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008868/0.02231, allocations: 0.5177 MB / 0.6309 GB, free: 7.875 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008637/0.02317, allocations: 0.6039 MB / 0.6315 GB, free: 7.27 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006286/0.0238, allocations: 430.8 kB / 0.6319 GB, free: 6.848 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.676e-05/0.0239, allocations: 56 kB / 0.632 GB, free: 6.793 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007962/0.0247, allocations: 454.7 kB / 0.6324 GB, free: 6.348 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003401/0.02504, allocations: 307.1 kB / 0.6327 GB, free: 6.047 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003458/0.02538, allocations: 275.3 kB / 0.6329 GB, free: 5.777 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001572/0.02695, allocations: 1.211 MB / 0.6341 GB, free: 4.562 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.02696, allocations: 0 / 0.6341 GB, free: 4.562 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.693e-06/0.02696, allocations: 0 / 0.6341 GB, free: 4.562 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.126e-05/0.02697, allocations: 0 / 0.6341 GB, free: 4.562 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001782/0.02875, allocations: 1.003 MB / 0.6351 GB, free: 3.523 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.02879, allocations: 11.97 kB / 0.6351 GB, free: 3.512 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001576/0.03037, allocations: 232.1 kB / 0.6353 GB, free: 3.285 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009906/0.03136, allocations: 0.5236 MB / 0.6359 GB, free: 2.738 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.509e-05/0.0314, allocations: 49.69 kB / 0.6359 GB, free: 2.688 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.03152, allocations: 68.31 kB / 0.636 GB, free: 2.621 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00159/0.03311, allocations: 1.13 MB / 0.6371 GB, free: 1.359 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.97e-05/0.03314, allocations: 4.188 kB / 0.6371 GB, free: 1.355 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.599e-05/0.03322, allocations: 28.36 kB / 0.6371 GB, free: 1.328 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001105/0.03333, allocations: 77.2 kB / 0.6372 GB, free: 1.254 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/0.03447, allocations: 0.6917 MB / 0.6378 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004969/0.03944, allocations: 4.394 MB / 0.6421 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008404/0.04028, allocations: 413.5 kB / 0.6425 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008619/0.04114, allocations: 384.6 kB / 0.6429 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.386e-05/0.04117, allocations: 7.984 kB / 0.6429 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.01e-05/0.04121, allocations: 42.5 kB / 0.6429 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=41): time 2.154e-06/0.04121, allocations: 0 / 0.6429 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42): time 0.004577/0.04579, allocations: 1.734 MB / 0.6446 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.04583, allocations: 55.41 kB / 0.6447 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004817/0.04632, allocations: 441.8 kB / 0.6451 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.132e-05/0.04636, allocations: 33.7 kB / 0.6451 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002821/0.04664, allocations: 396 kB / 0.6455 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/0.04677, allocations: 154.7 kB / 0.6457 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001716/0.04694, allocations: 110.2 kB / 0.6458 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.04711, allocations: 358.8 kB / 0.6461 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003774/0.04749, allocations: 249.2 kB / 0.6464 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005435/0.04803, allocations: 453 kB / 0.6468 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.04904, allocations: 0.7611 MB / 0.6475 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.04904, allocations: 0 / 0.6475 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001991/0.05104, allocations: 1.038 MB / 0.6485 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.05106, allocations: 8 kB / 0.6486 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/0.05107, allocations: 11.98 kB / 0.6486 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00108/0.05215, allocations: 319.8 kB / 0.6489 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003372/0.05249, allocations: 99.77 kB / 0.649 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007887/0.06038, allocations: 6.973 MB / 0.6558 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004647/0.06084, allocations: 32.02 kB / 0.6558 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.564e-05/0.06089, allocations: 24.14 kB / 0.6558 GB, free: 13.26 MB / 0.5762 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004172/0.06131, allocations: 250.5 kB / 0.6561 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.878e-05/0.0614, allocations: 63.61 kB / 0.6561 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001822/0.06323, allocations: 0.8922 MB / 0.657 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.06323, allocations: 7.938 kB / 0.657 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-06/0.06324, allocations: 4 kB / 0.657 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.036e-06/0.06325, allocations: 7.938 kB / 0.657 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002749/0.066, allocations: 1.515 MB / 0.6585 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.066, allocations: 0 / 0.6585 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/0.06619, allocations: 43.91 kB / 0.6585 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001023/0.06721, allocations: 311.3 kB / 0.6588 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.288e-05/0.06724, allocations: 8 kB / 0.6588 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007694/0.07494, allocations: 6.973 MB / 0.6657 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.07494, allocations: 4 kB / 0.6657 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001771/0.07671, allocations: 0.9722 MB / 0.6666 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000235/0.07695, allocations: 99.52 kB / 0.6667 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.046e-05/0.07703, allocations: 15.98 kB / 0.6667 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00028/0.07731, allocations: 23.98 kB / 0.6667 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.07742, allocations: 43.86 kB / 0.6668 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-05/0.07745, allocations: 12 kB / 0.6668 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003347/0.07779, allocations: 290.9 kB / 0.6671 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.07779, allocations: 0 / 0.6671 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008046/0.07859, allocations: 195.9 kB / 0.6673 GB, free: 0.9922 MB / 0.5762 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001665/0.07876, allocations: 111.2 kB / 0.6674 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00189/0.08065, allocations: 1.164 MB / 0.6685 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.08065, allocations: 0 / 0.6685 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00132/0.08197, allocations: 0.8347 MB / 0.6693 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009746/0.08295, allocations: 195.5 kB / 0.6695 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/0.08496, allocations: 1.242 MB / 0.6707 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004282/0.08539, allocations: 398.9 kB / 0.6711 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002517/0.08564, allocations: 101 kB / 0.6712 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.045e-05/0.08573, allocations: 32.5 kB / 0.6712 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of SimCode: time 6.51e-07/0.08573, allocations: 0 / 0.6712 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of Templates: time 0.01858/0.1043, allocations: 10.37 MB / 0.6813 GB, free: 2.633 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.027723755687475] Failed to read output from testmodel.py, exit status != 0: 0.11404796689748764 0.129859851 0.099488455 Calling exit ...