Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009513/0.0009513, allocations: 73.88 kB / 20.65 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.0009852/0.0009852, allocations: 169 kB / 24.06 MB, free: 452 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.9679/0.9679, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.7806/0.7806, allocations: 154.9 MB / 415.9 MB, free: 252 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.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 0.5219 GB, free: 452 kB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.227e-05/3.423e-05, allocations: 2.312 kB / 0.5219 GB, free: 448 kB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.005217/0.005251, allocations: 4.778 MB / 0.5266 GB, free: 11.66 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.003056/0.008308, allocations: 1.711 MB / 0.5282 GB, free: 9.961 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004396/0.008747, allocations: 39.62 kB / 0.5283 GB, free: 9.922 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005714/0.009319, allocations: 216 kB / 0.5285 GB, free: 9.711 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006874/0.01001, allocations: 440.2 kB / 0.5289 GB, free: 9.281 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006783/0.01068, allocations: 416.5 kB / 0.5293 GB, free: 8.879 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001268/0.01195, allocations: 1.279 MB / 0.5305 GB, free: 7.594 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005583/0.01251, allocations: 0.5411 MB / 0.5311 GB, free: 7.047 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000599/0.01311, allocations: 0.6624 MB / 0.5317 GB, free: 6.383 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005745/0.01368, allocations: 0.4954 MB / 0.5322 GB, free: 5.887 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 8.088e-05/0.01377, allocations: 65.5 kB / 0.5323 GB, free: 5.824 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000251/0.01402, allocations: 135.9 kB / 0.5324 GB, free: 5.691 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002045/0.01422, allocations: 327.1 kB / 0.5327 GB, free: 5.371 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002233/0.01444, allocations: 311.2 kB / 0.533 GB, free: 5.066 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006362/0.01508, allocations: 0.7478 MB / 0.5337 GB, free: 4.316 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.01508, allocations: 1.031 kB / 0.5337 GB, free: 4.316 MB / 458.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.01509, allocations: 0 / 0.5337 GB, free: 4.316 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.0151, allocations: 0 / 0.5337 GB, free: 4.316 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001121/0.01622, allocations: 1.177 MB / 0.5349 GB, free: 3.102 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.01625, allocations: 12.03 kB / 0.5349 GB, free: 3.09 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007434/0.01699, allocations: 290.2 kB / 0.5352 GB, free: 2.809 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005603/0.01755, allocations: 0.5315 MB / 0.5357 GB, free: 2.262 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.812e-05/0.01758, allocations: 45.69 kB / 0.5357 GB, free: 2.219 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.871e-05/0.01765, allocations: 75.33 kB / 0.5358 GB, free: 2.148 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.01865, allocations: 1.029 MB / 0.5368 GB, free: 0.9062 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/0.01868, allocations: 12.11 kB / 0.5368 GB, free: 0.8945 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.156e-05/0.01872, allocations: 24.38 kB / 0.5368 GB, free: 0.8711 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.687e-05/0.01882, allocations: 89.19 kB / 0.5369 GB, free: 0.7812 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003218/0.01914, allocations: 287.7 kB / 0.5372 GB, free: 0.5039 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002921/0.02206, allocations: 5.58 MB / 0.5427 GB, free: 10.74 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003979/0.02246, allocations: 256.9 kB / 0.5429 GB, free: 10.48 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/0.02259, allocations: 117.9 kB / 0.543 GB, free: 10.36 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.02261, allocations: 8.5 kB / 0.543 GB, free: 10.36 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.02264, allocations: 45.89 kB / 0.5431 GB, free: 10.3 MB / 474.7 MB Notification: Performance of pre-optimization done (n=47): time 1.693e-06/0.02264, allocations: 0 / 0.5431 GB, free: 10.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=48): time 0.001801/0.02444, allocations: 0.9025 MB / 0.5439 GB, free: 9.391 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/0.02447, allocations: 59.89 kB / 0.544 GB, free: 9.32 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003111/0.02479, allocations: 0.5261 MB / 0.5445 GB, free: 8.777 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.02481, allocations: 37.7 kB / 0.5445 GB, free: 8.734 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002212/0.02503, allocations: 488.8 kB / 0.545 GB, free: 8.254 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.288e-05/0.02513, allocations: 182.5 kB / 0.5452 GB, free: 8.074 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/0.02525, allocations: 132.2 kB / 0.5453 GB, free: 7.934 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.0254, allocations: 0.5468 MB / 0.5458 GB, free: 7.375 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.0255, allocations: 89.92 kB / 0.5459 GB, free: 7.289 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002452/0.02574, allocations: 400.6 kB / 0.5463 GB, free: 6.766 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004158/0.02616, allocations: 0.5376 MB / 0.5468 GB, free: 6.105 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.02616, allocations: 4 kB / 0.5468 GB, free: 6.102 MB / 474.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0008375/0.027, allocations: 0.6748 MB / 0.5475 GB, free: 5.41 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.02702, allocations: 8 kB / 0.5475 GB, free: 5.402 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.02703, allocations: 8 kB / 0.5475 GB, free: 5.395 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006827/0.02771, allocations: 297.5 kB / 0.5478 GB, free: 5.098 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002438/0.02796, allocations: 115 kB / 0.5479 GB, free: 4.988 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00399/0.03195, allocations: 7.474 MB / 0.5552 GB, free: 13.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003096/0.03226, allocations: 19.38 kB / 0.5552 GB, free: 13.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.902e-05/0.03229, allocations: 28 kB / 0.5553 GB, free: 13.02 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 (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.000226/0.03251, allocations: 196.3 kB / 0.5554 GB, free: 12.81 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.03262, allocations: 91.7 kB / 0.5555 GB, free: 12.72 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006287/0.03324, allocations: 0.4928 MB / 0.556 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.03325, allocations: 4 kB / 0.556 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.03326, allocations: 11.94 kB / 0.556 GB, free: 12.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.03326, allocations: 6.203 kB / 0.556 GB, free: 12.19 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.03443, allocations: 1.012 MB / 0.557 GB, free: 11.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.03443, allocations: 4 kB / 0.557 GB, free: 11.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.03455, allocations: 42.64 kB / 0.5571 GB, free: 11.06 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006465/0.0352, allocations: 289.3 kB / 0.5573 GB, free: 10.77 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.472e-05/0.03522, allocations: 12 kB / 0.5574 GB, free: 10.76 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003817/0.03904, allocations: 7.462 MB / 0.5646 GB, free: 2.848 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.03904, allocations: 4.781 kB / 0.5646 GB, free: 2.844 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006796/0.03972, allocations: 0.6873 MB / 0.5653 GB, free: 2.098 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/0.03987, allocations: 97.72 kB / 0.5654 GB, free: 2.004 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.161e-05/0.03991, allocations: 16.17 kB / 0.5654 GB, free: 1.988 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/0.04007, allocations: 16 kB / 0.5654 GB, free: 1.973 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.496e-05/0.04016, allocations: 47.81 kB / 0.5655 GB, free: 1.926 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.04018, allocations: 12 kB / 0.5655 GB, free: 1.914 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001739/0.04035, allocations: 330.6 kB / 0.5658 GB, free: 1.594 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04035, allocations: 0.625 kB / 0.5658 GB, free: 1.594 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005873/0.04094, allocations: 220 kB / 0.566 GB, free: 1.379 MB / 490.7 MB 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.0001207/0.04106, allocations: 113.4 kB / 0.5661 GB, free: 1.262 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0009329/0.04199, allocations: 1.135 MB / 0.5672 GB, free: 64 kB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.04199, allocations: 0 / 0.5672 GB, free: 64 kB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005859/0.04258, allocations: 0.953 MB / 0.5682 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006257/0.04321, allocations: 197.6 kB / 0.5684 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/0.04479, allocations: 1.264 MB / 0.5696 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001732/0.04497, allocations: 211.4 kB / 0.5698 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002061/0.04517, allocations: 79.41 kB / 0.5699 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002916/0.04546, allocations: 250 kB / 0.5701 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of SimCode: time 8.32e-07/0.04547, allocations: 0 / 0.5701 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of Templates: time 0.01487/0.06034, allocations: 12.31 MB / 0.5821 GB, free: 1.004 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.02542547788471]