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.00127/0.00127, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001754/0.001754, allocations: 215.1 kB / 22.24 MB, free: 5.242 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.523/1.523, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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-531:190: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-531:198: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 1.383/1.383, allocations: 203.8 MB / 0.5041 GB, free: 4.586 MB / 414.1 MB " [Timeout remaining time 178] 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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002886/0.002886, allocations: 72.17 kB / 0.7187 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5664/0.5693, allocations: 102 MB / 0.8183 GB, free: 28.91 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.00882/0.5781, allocations: 6.549 MB / 0.8247 GB, free: 24.77 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.005943/0.584, allocations: 3.065 MB / 0.8277 GB, free: 22.82 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009671/0.585, allocations: 40.06 kB / 0.8277 GB, free: 22.8 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002594/0.5876, allocations: 0.953 MB / 0.8286 GB, free: 22.26 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001766/0.5894, allocations: 0.5203 MB / 0.8291 GB, free: 21.95 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001339/0.5907, allocations: 453.2 kB / 0.8296 GB, free: 21.73 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001579/0.5923, allocations: 1.232 MB / 0.8308 GB, free: 21.17 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008855/0.5932, allocations: 0.536 MB / 0.8313 GB, free: 20.92 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007467/0.5939, allocations: 492.3 kB / 0.8318 GB, free: 20.72 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007914/0.5947, allocations: 0.5123 MB / 0.8323 GB, free: 20.54 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001392/0.5948, allocations: 67.03 kB / 0.8323 GB, free: 20.54 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000831/0.5957, allocations: 348.4 kB / 0.8327 GB, free: 20.43 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003299/0.596, allocations: 315 kB / 0.833 GB, free: 20.3 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0003936/0.5964, allocations: 379.2 kB / 0.8333 GB, free: 20.11 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001642/0.598, allocations: 1.23 MB / 0.8345 GB, free: 19.69 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.598, allocations: 4 kB / 0.8345 GB, free: 19.68 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.064e-06/0.5981, allocations: 0 / 0.8345 GB, free: 19.68 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.295e-05/0.5981, allocations: 1.438 kB / 0.8345 GB, free: 19.68 MB / 0.6387 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.002059/0.6001, allocations: 1.12 MB / 0.8356 GB, free: 18.95 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.6002, allocations: 10.44 kB / 0.8356 GB, free: 18.95 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001634/0.6018, allocations: 247.8 kB / 0.8359 GB, free: 18.89 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.6029, allocations: 0.5383 MB / 0.8364 GB, free: 18.56 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.065e-05/0.6029, allocations: 48.39 kB / 0.8364 GB, free: 18.54 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/0.6031, allocations: 61.89 kB / 0.8365 GB, free: 18.52 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001716/0.6048, allocations: 1.337 MB / 0.8378 GB, free: 17.59 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.909e-05/0.6048, allocations: 8.578 kB / 0.8378 GB, free: 17.59 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.783e-05/0.6049, allocations: 33.41 kB / 0.8378 GB, free: 17.56 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001619/0.605, allocations: 83.77 kB / 0.8379 GB, free: 17.55 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001163/0.6062, allocations: 0.7512 MB / 0.8387 GB, free: 17.28 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004199/0.6104, allocations: 4.526 MB / 0.8431 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.6115, allocations: 0.5279 MB / 0.8436 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004513/0.6119, allocations: 283.6 kB / 0.8439 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 4.3e-05/0.6119, allocations: 5.375 kB / 0.8439 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.612, allocations: 38.33 kB / 0.8439 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=47): time 3.106e-06/0.612, allocations: 0 / 0.8439 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of matching and sorting (n=48): time 0.003965/0.6159, allocations: 1.676 MB / 0.8455 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.607e-05/0.616, allocations: 61.02 kB / 0.8456 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005761/0.6165, allocations: 0.5164 MB / 0.8461 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.747e-05/0.6166, allocations: 37.02 kB / 0.8461 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002122/0.6168, allocations: 430.2 kB / 0.8465 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.6169, allocations: 175.9 kB / 0.8467 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002033/0.6171, allocations: 124.7 kB / 0.8468 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.451e-05/0.6172, allocations: 372.6 kB / 0.8472 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004172/0.6176, allocations: 274.8 kB / 0.8475 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005329/0.6182, allocations: 496.5 kB / 0.8479 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009872/0.6191, allocations: 0.8124 MB / 0.8487 GB, free: 10.42 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.6191, allocations: 1.688 kB / 0.8487 GB, free: 10.42 MB / 0.6387 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00179/0.6209, allocations: 1.076 MB / 0.8498 GB, free: 9.957 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.621, allocations: 11.41 kB / 0.8498 GB, free: 9.953 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.621, allocations: 7.281 kB / 0.8498 GB, free: 9.953 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009059/0.6219, allocations: 277.5 kB / 0.8501 GB, free: 9.867 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005129/0.6224, allocations: 125.2 kB / 0.8502 GB, free: 9.855 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005339/0.6277, allocations: 6.594 MB / 0.8566 GB, free: 4.289 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006877/0.6284, allocations: 44.31 kB / 0.8567 GB, free: 4.273 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.476e-05/0.6285, allocations: 27.59 kB / 0.8567 GB, free: 4.27 MB / 0.6387 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.0003794/0.6289, allocations: 253.2 kB / 0.8569 GB, free: 4.086 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.629, allocations: 71.09 kB / 0.857 GB, free: 4.051 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001569/0.6305, allocations: 0.8718 MB / 0.8578 GB, free: 3.664 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.6305, allocations: 5.062 kB / 0.8578 GB, free: 3.664 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.6305, allocations: 8.344 kB / 0.8579 GB, free: 3.66 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.6305, allocations: 2.438 kB / 0.8579 GB, free: 3.66 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002547/0.6331, allocations: 1.532 MB / 0.8594 GB, free: 2.891 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.6331, allocations: 2.922 kB / 0.8594 GB, free: 2.891 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002803/0.6334, allocations: 59.56 kB / 0.8594 GB, free: 2.887 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007785/0.6342, allocations: 266 kB / 0.8597 GB, free: 2.801 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.571e-05/0.6342, allocations: 12.66 kB / 0.8597 GB, free: 2.793 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00612/0.6403, allocations: 6.588 MB / 0.8661 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.706e-06/0.6403, allocations: 5.469 kB / 0.8661 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001731/0.6421, allocations: 0.9681 MB / 0.8671 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003985/0.6424, allocations: 115.4 kB / 0.8672 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.809e-05/0.6425, allocations: 12.06 kB / 0.8672 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003827/0.6429, allocations: 29.72 kB / 0.8672 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.643, allocations: 50.95 kB / 0.8673 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.602e-05/0.6431, allocations: 15.19 kB / 0.8673 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004629/0.6435, allocations: 348.8 kB / 0.8676 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.6435, allocations: 0 / 0.8676 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009871/0.6445, allocations: 220.5 kB / 0.8678 GB, free: 11.96 MB / 0.6544 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.0001698/0.6447, allocations: 118 kB / 0.8679 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002224/0.6469, allocations: 1.237 MB / 0.8691 GB, free: 11 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.6469, allocations: 3.938 kB / 0.8691 GB, free: 11 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001333/0.6483, allocations: 0.8587 MB / 0.87 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009901/0.6493, allocations: 217 kB / 0.8702 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002586/0.6518, allocations: 1.358 MB / 0.8715 GB, free: 9.352 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004903/0.6523, allocations: 421 kB / 0.8719 GB, free: 9.105 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003937/0.6527, allocations: 115.9 kB / 0.872 GB, free: 9.051 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.6528, allocations: 43.36 kB / 0.8721 GB, free: 9.039 MB / 0.6544 GB Notification: Performance of SimCode: time 6.51e-07/0.6528, allocations: 0 / 0.8721 GB, free: 9.039 MB / 0.6544 GB Notification: Performance of Templates: time 0.02411/0.677, allocations: 12.29 MB / 0.8841 GB, free: 1.527 MB / 0.6544 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.215910462662578] Failed to read output from testmodel.py, exit status != 0: 0.6890234649181366 0.709652995 0.107336124 Calling exit ...