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.0007096/0.0007096, allocations: 100.4 kB / 19.71 MB, free: 444 kB / 13.93 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.0007125/0.0007125, allocations: 210.9 kB / 23 MB, free: 2.973 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 0.8206/0.8206, allocations: 230.6 MB / 256.8 MB, free: 9.578 MB / 202.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-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 0.6922/0.6922, allocations: 203.8 MB / 0.5049 GB, free: 10.43 MB / 410.7 MB " [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: 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.000895/0.000895, allocations: 70.77 kB / 0.7194 GB, free: 3.539 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.383/0.3839, allocations: 102 MB / 0.819 GB, free: 1.324 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.005181/0.389, allocations: 6.545 MB / 0.8254 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002991/0.392, allocations: 3.081 MB / 0.8284 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002141/0.3922, allocations: 39.91 kB / 0.8285 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001353/0.3936, allocations: 0.9453 MB / 0.8294 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007868/0.3944, allocations: 0.5257 MB / 0.8299 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006764/0.3951, allocations: 444.6 kB / 0.8303 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000919/0.396, allocations: 1.235 MB / 0.8315 GB, free: 9.52 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006885/0.3967, allocations: 0.5319 MB / 0.832 GB, free: 9.27 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00055/0.3972, allocations: 0.4887 MB / 0.8325 GB, free: 9.062 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004889/0.3977, allocations: 0.5124 MB / 0.833 GB, free: 8.875 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.104e-05/0.3978, allocations: 67.06 kB / 0.8331 GB, free: 8.875 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003888/0.3982, allocations: 346.3 kB / 0.8334 GB, free: 8.773 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002286/0.3984, allocations: 319 kB / 0.8337 GB, free: 8.637 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002864/0.3987, allocations: 380.2 kB / 0.8341 GB, free: 8.445 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001002/0.3997, allocations: 1.231 MB / 0.8353 GB, free: 8.02 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3997, allocations: 1.344 kB / 0.8353 GB, free: 8.02 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.277e-06/0.3997, allocations: 4 kB / 0.8353 GB, free: 8.016 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.028e-05/0.3997, allocations: 0 / 0.8353 GB, free: 8.016 MB / 0.6198 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.001327/0.401, allocations: 1.117 MB / 0.8364 GB, free: 7.285 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.4011, allocations: 13.34 kB / 0.8364 GB, free: 7.281 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009054/0.402, allocations: 240.1 kB / 0.8366 GB, free: 7.227 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006325/0.4026, allocations: 0.538 MB / 0.8371 GB, free: 6.891 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.025e-05/0.4026, allocations: 48.06 kB / 0.8372 GB, free: 6.867 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.468e-05/0.4027, allocations: 70.09 kB / 0.8373 GB, free: 6.84 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/0.4038, allocations: 1.337 MB / 0.8386 GB, free: 5.895 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.4038, allocations: 11.42 kB / 0.8386 GB, free: 5.887 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.865e-05/0.4039, allocations: 33.33 kB / 0.8386 GB, free: 5.863 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.511e-05/0.404, allocations: 80.55 kB / 0.8387 GB, free: 5.844 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007481/0.4047, allocations: 0.7548 MB / 0.8394 GB, free: 5.461 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002744/0.4075, allocations: 4.52 MB / 0.8438 GB, free: 1.566 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006008/0.4081, allocations: 0.5163 MB / 0.8443 GB, free: 1.293 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002645/0.4083, allocations: 283.6 kB / 0.8446 GB, free: 1.152 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.4083, allocations: 5.5 kB / 0.8446 GB, free: 1.152 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.4084, allocations: 38.38 kB / 0.8447 GB, free: 1.109 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=47): time 1.472e-06/0.4084, allocations: 3.938 kB / 0.8447 GB, free: 1.105 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.002074/0.4104, allocations: 1.681 MB / 0.8463 GB, free: 184 kB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.316e-05/0.4105, allocations: 56.09 kB / 0.8464 GB, free: 120 kB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000393/0.4109, allocations: 0.5197 MB / 0.8469 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.059e-05/0.4109, allocations: 36.27 kB / 0.8469 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.4111, allocations: 427.5 kB / 0.8473 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.005e-05/0.4111, allocations: 177 kB / 0.8475 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.4113, allocations: 126.5 kB / 0.8476 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.493e-05/0.4114, allocations: 369.4 kB / 0.8479 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002674/0.4116, allocations: 275.9 kB / 0.8482 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003481/0.412, allocations: 0.4919 MB / 0.8487 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006115/0.4126, allocations: 0.806 MB / 0.8495 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.4126, allocations: 2.75 kB / 0.8495 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001063/0.4137, allocations: 1.078 MB / 0.8505 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.4137, allocations: 12.19 kB / 0.8505 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.4137, allocations: 7 kB / 0.8505 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004599/0.4141, allocations: 273.7 kB / 0.8508 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002393/0.4144, allocations: 128.3 kB / 0.8509 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003581/0.418, allocations: 6.592 MB / 0.8574 GB, free: 6.922 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002441/0.4182, allocations: 38.19 kB / 0.8574 GB, free: 6.902 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.945e-05/0.4182, allocations: 27.28 kB / 0.8574 GB, free: 6.898 MB / 0.6355 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.0001983/0.4184, allocations: 251.6 kB / 0.8577 GB, free: 6.699 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.349e-05/0.4185, allocations: 74.66 kB / 0.8577 GB, free: 6.66 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008819/0.4194, allocations: 0.8732 MB / 0.8586 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.4194, allocations: 5.562 kB / 0.8586 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.4194, allocations: 2.562 kB / 0.8586 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.4194, allocations: 5.109 kB / 0.8586 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001457/0.4208, allocations: 1.531 MB / 0.8601 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.4208, allocations: 1.469 kB / 0.8601 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/0.421, allocations: 59.95 kB / 0.8602 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003943/0.4214, allocations: 269.8 kB / 0.8604 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.271e-05/0.4214, allocations: 12.03 kB / 0.8604 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003442/0.4248, allocations: 6.589 MB / 0.8669 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.4248, allocations: 1.469 kB / 0.8669 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008853/0.4257, allocations: 0.9724 MB / 0.8678 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/0.4259, allocations: 115.2 kB / 0.8679 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.05e-05/0.4259, allocations: 11.97 kB / 0.8679 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.4261, allocations: 29.78 kB / 0.868 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.233e-05/0.4261, allocations: 42.97 kB / 0.868 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-05/0.4262, allocations: 19.28 kB / 0.868 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002359/0.4264, allocations: 344.2 kB / 0.8684 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6e-08/0.4264, allocations: 0 / 0.8684 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004594/0.4269, allocations: 227.9 kB / 0.8686 GB, free: 14.01 MB / 0.6511 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 9.112e-05/0.4269, allocations: 115.3 kB / 0.8687 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001113/0.4281, allocations: 1.235 MB / 0.8699 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4281, allocations: 4 kB / 0.8699 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006308/0.4287, allocations: 0.8599 MB / 0.8707 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005351/0.4292, allocations: 205.5 kB / 0.8709 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.4306, allocations: 1.428 MB / 0.8723 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.4308, allocations: 417.1 kB / 0.8727 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.566e-05/0.4309, allocations: 46.48 kB / 0.8728 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of SimCode: time 6.31e-07/0.4309, allocations: 0 / 0.8728 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of Templates: time 0.01326/0.4442, allocations: 20.91 MB / 0.8932 GB, free: 7.895 MB / 0.6667 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=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.247119715902954] Failed to read output from testmodel.py, exit status != 0: 0.4492856180295348 0.45646469 0.055225142000000005 Calling exit ...