Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009897/0.0009897, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009797/0.0009797, allocations: 169 kB / 24.06 MB, free: 456 kB / 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 0.9178/0.9178, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] 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-545:108: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-545:116: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 0.7694/0.7694, allocations: 154.6 MB / 415.6 MB, free: 0.5117 MB / 378.7 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 179] 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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 0.5215 GB, free: 1.926 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.435e-05/1.573e-05, allocations: 2.312 kB / 0.5215 GB, free: 1.922 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.003938/0.003954, allocations: 4.773 MB / 0.5262 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001913/0.005867, allocations: 1.708 MB / 0.5279 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002313/0.006098, allocations: 39.62 kB / 0.5279 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004946/0.006593, allocations: 210.4 kB / 0.5281 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0007662/0.007359, allocations: 454.8 kB / 0.5285 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004772/0.007836, allocations: 404.3 kB / 0.5289 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0007882/0.008624, allocations: 1.271 MB / 0.5302 GB, free: 9.09 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005135/0.009138, allocations: 0.5411 MB / 0.5307 GB, free: 8.547 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005176/0.009655, allocations: 0.6664 MB / 0.5313 GB, free: 7.879 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000456/0.01011, allocations: 0.4908 MB / 0.5318 GB, free: 7.387 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.699e-05/0.01018, allocations: 68 kB / 0.5319 GB, free: 7.32 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001745/0.01035, allocations: 138.7 kB / 0.532 GB, free: 7.188 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001858/0.01054, allocations: 331.1 kB / 0.5323 GB, free: 6.863 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001998/0.01074, allocations: 315.2 kB / 0.5326 GB, free: 6.555 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005295/0.01127, allocations: 0.7396 MB / 0.5334 GB, free: 5.812 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.01127, allocations: 0 / 0.5334 GB, free: 5.812 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.81e-07/0.01127, allocations: 0 / 0.5334 GB, free: 5.812 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.01128, allocations: 0 / 0.5334 GB, free: 5.812 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.0009834/0.01226, allocations: 1.179 MB / 0.5345 GB, free: 4.598 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.01229, allocations: 9.312 kB / 0.5345 GB, free: 4.59 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006905/0.01298, allocations: 288.4 kB / 0.5348 GB, free: 4.309 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005262/0.01351, allocations: 0.5454 MB / 0.5353 GB, free: 3.742 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.01353, allocations: 45.69 kB / 0.5354 GB, free: 3.699 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003365/0.01387, allocations: 72.31 kB / 0.5354 GB, free: 3.629 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006584/0.01453, allocations: 1.03 MB / 0.5364 GB, free: 2.395 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.01455, allocations: 4.125 kB / 0.5364 GB, free: 2.391 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.265e-05/0.01459, allocations: 37.23 kB / 0.5365 GB, free: 2.355 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.283e-05/0.01468, allocations: 89.19 kB / 0.5366 GB, free: 2.27 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002907/0.01497, allocations: 289.7 kB / 0.5368 GB, free: 1.988 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002506/0.01748, allocations: 5.574 MB / 0.5423 GB, free: 12.22 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005972/0.01808, allocations: 254.3 kB / 0.5425 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.01819, allocations: 113.1 kB / 0.5426 GB, free: 11.85 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.01821, allocations: 9.562 kB / 0.5426 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.01823, allocations: 41.89 kB / 0.5427 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=47): time 2.344e-06/0.01824, allocations: 0.7188 kB / 0.5427 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=48): time 0.001381/0.01962, allocations: 0.8984 MB / 0.5436 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/0.01964, allocations: 69.09 kB / 0.5436 GB, free: 10.81 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002788/0.01992, allocations: 0.5254 MB / 0.5441 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.01995, allocations: 37.7 kB / 0.5442 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/0.02014, allocations: 486.5 kB / 0.5446 GB, free: 9.742 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.697e-05/0.02022, allocations: 184 kB / 0.5448 GB, free: 9.562 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.02034, allocations: 128.2 kB / 0.5449 GB, free: 9.43 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.02047, allocations: 0.5507 MB / 0.5455 GB, free: 8.867 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.897e-05/0.02057, allocations: 85.92 kB / 0.5456 GB, free: 8.781 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002432/0.02081, allocations: 401.9 kB / 0.5459 GB, free: 8.262 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003627/0.02117, allocations: 0.5336 MB / 0.5465 GB, free: 7.605 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.02117, allocations: 0 / 0.5465 GB, free: 7.605 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0007688/0.02194, allocations: 0.6802 MB / 0.5471 GB, free: 6.906 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.02196, allocations: 8.875 kB / 0.5471 GB, free: 6.898 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.02197, allocations: 11.94 kB / 0.5471 GB, free: 6.887 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006515/0.02262, allocations: 298.5 kB / 0.5474 GB, free: 6.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.02284, allocations: 111.8 kB / 0.5475 GB, free: 6.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003297/0.02614, allocations: 7.469 MB / 0.5548 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002073/0.02634, allocations: 20 kB / 0.5549 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.02637, allocations: 24.5 kB / 0.5549 GB, free: 14.52 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.0001305/0.0265, allocations: 201.9 kB / 0.5551 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.378e-05/0.02657, allocations: 93.7 kB / 0.5552 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005426/0.02712, allocations: 0.4908 MB / 0.5556 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.02712, allocations: 4.688 kB / 0.5556 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.02712, allocations: 7.938 kB / 0.5557 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.02713, allocations: 4.484 kB / 0.5557 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/0.02834, allocations: 1.01 MB / 0.5566 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.02834, allocations: 0 / 0.5566 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.02845, allocations: 52.77 kB / 0.5567 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005717/0.02902, allocations: 283.5 kB / 0.557 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/0.02904, allocations: 4 kB / 0.557 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00319/0.03223, allocations: 7.474 MB / 0.5643 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.03223, allocations: 0 / 0.5643 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005759/0.03281, allocations: 0.6914 MB / 0.5649 GB, free: 3.598 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.03293, allocations: 104 kB / 0.565 GB, free: 3.496 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.959e-05/0.03297, allocations: 12.94 kB / 0.5651 GB, free: 3.484 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.03312, allocations: 11.94 kB / 0.5651 GB, free: 3.473 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.721e-05/0.03318, allocations: 51.84 kB / 0.5651 GB, free: 3.422 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.03319, allocations: 13.59 kB / 0.5651 GB, free: 3.41 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001518/0.03334, allocations: 314.7 kB / 0.5654 GB, free: 3.105 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.03334, allocations: 4 kB / 0.5654 GB, free: 3.102 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004478/0.03379, allocations: 224 kB / 0.5656 GB, free: 2.883 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.0001031/0.0339, allocations: 121.3 kB / 0.5658 GB, free: 2.758 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008204/0.03472, allocations: 1.148 MB / 0.5669 GB, free: 1.547 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.03472, allocations: 0 / 0.5669 GB, free: 1.547 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005586/0.03528, allocations: 0.9441 MB / 0.5678 GB, free: 0.5312 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005469/0.03582, allocations: 201.9 kB / 0.568 GB, free: 360 kB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.03718, allocations: 1.263 MB / 0.5692 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001274/0.0373, allocations: 212.5 kB / 0.5694 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001762/0.03748, allocations: 75.34 kB / 0.5695 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002784/0.03776, allocations: 254 kB / 0.5697 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of SimCode: time 9.92e-07/0.03776, allocations: 0 / 0.5697 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of Templates: time 0.01326/0.05102, allocations: 12.32 MB / 0.5818 GB, free: 2.488 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.907680836971849]