Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.0008334/0.0008334, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 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.0009328/0.0009328, allocations: 221.7 kB / 22.26 MB, free: 3.691 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.9534/0.9534, allocations: 230.6 MB / 256 MB, free: 9.793 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.7931/0.7931, allocations: 203.8 MB / 0.5042 GB, free: 10.73 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: "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [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.00114/0.00114, allocations: 63.78 kB / 0.7182 GB, free: 4.344 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5714/0.5726, allocations: 102 MB / 0.8179 GB, free: 1.273 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.005765/0.5783, allocations: 5.763 MB / 0.8235 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003597/0.5819, allocations: 2.779 MB / 0.8262 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000371/0.5823, allocations: 33.72 kB / 0.8262 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001161/0.5835, allocations: 0.7069 MB / 0.8269 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0009077/0.5844, allocations: 425.6 kB / 0.8273 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009554/0.5853, allocations: 418.7 kB / 0.8277 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001196/0.5865, allocations: 0.9607 MB / 0.8287 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006092/0.5871, allocations: 379.2 kB / 0.829 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007243/0.5878, allocations: 388.8 kB / 0.8294 GB, free: 9.883 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007532/0.5886, allocations: 431.7 kB / 0.8298 GB, free: 9.711 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.5887, allocations: 47.75 kB / 0.8299 GB, free: 9.711 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001151/0.5899, allocations: 373.3 kB / 0.8302 GB, free: 9.59 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.00043/0.5903, allocations: 254.1 kB / 0.8305 GB, free: 9.484 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0005042/0.5908, allocations: 354.2 kB / 0.8308 GB, free: 9.277 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002198/0.593, allocations: 0.9765 MB / 0.8317 GB, free: 8.938 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 9.207e-06/0.593, allocations: 0.5312 kB / 0.8317 GB, free: 8.938 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.807e-06/0.593, allocations: 0 / 0.8317 GB, free: 8.938 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.186e-05/0.593, allocations: 4.5 kB / 0.8317 GB, free: 8.934 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.002202/0.5952, allocations: 0.919 MB / 0.8326 GB, free: 8.301 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.681e-05/0.5953, allocations: 12.97 kB / 0.8327 GB, free: 8.297 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001052/0.5954, allocations: 96.72 kB / 0.8328 GB, free: 8.227 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009638/0.5964, allocations: 207.4 kB / 0.8329 GB, free: 8.172 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007693/0.5971, allocations: 465.6 kB / 0.8334 GB, free: 7.875 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.354e-05/0.5972, allocations: 45.73 kB / 0.8334 GB, free: 7.848 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/0.5973, allocations: 51.69 kB / 0.8335 GB, free: 7.832 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.5983, allocations: 0.8316 MB / 0.8343 GB, free: 7.359 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.5983, allocations: 2.281 kB / 0.8343 GB, free: 7.359 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.991e-05/0.5984, allocations: 23.23 kB / 0.8343 GB, free: 7.344 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001521/0.5985, allocations: 67.94 kB / 0.8344 GB, free: 7.336 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007198/0.5992, allocations: 0.5726 MB / 0.8349 GB, free: 7.129 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003326/0.6026, allocations: 4.501 MB / 0.8393 GB, free: 3.293 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003967/0.603, allocations: 277.7 kB / 0.8396 GB, free: 3.18 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003083/0.6033, allocations: 206.6 kB / 0.8398 GB, free: 3.102 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3e-05/0.6033, allocations: 11.53 kB / 0.8398 GB, free: 3.094 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.6033, allocations: 37.19 kB / 0.8398 GB, free: 3.051 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=33): time 1.764e-06/0.6033, allocations: 0 / 0.8398 GB, free: 3.051 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.003924/0.6073, allocations: 2.349 MB / 0.8421 GB, free: 1.867 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.6073, allocations: 55.88 kB / 0.8422 GB, free: 1.805 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000462/0.6078, allocations: 465.2 kB / 0.8426 GB, free: 1.516 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.6078, allocations: 35.64 kB / 0.8427 GB, free: 1.477 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001906/0.608, allocations: 349.2 kB / 0.843 GB, free: 1.168 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.779e-05/0.6081, allocations: 156.8 kB / 0.8432 GB, free: 1.031 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/0.6082, allocations: 106.1 kB / 0.8433 GB, free: 0.9609 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.6083, allocations: 363.8 kB / 0.8436 GB, free: 0.6094 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002612/0.6086, allocations: 235.5 kB / 0.8438 GB, free: 0.4961 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003862/0.609, allocations: 415 kB / 0.8442 GB, free: 156 kB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007497/0.6097, allocations: 0.6737 MB / 0.8449 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.6097, allocations: 1.219 kB / 0.8449 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001527/0.6113, allocations: 0.9173 MB / 0.8458 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.945e-05/0.6113, allocations: 11.03 kB / 0.8458 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/0.6113, allocations: 6.125 kB / 0.8458 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006262/0.6119, allocations: 222 kB / 0.846 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003624/0.6123, allocations: 117.6 kB / 0.8461 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004103/0.6164, allocations: 5.037 MB / 0.851 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005537/0.617, allocations: 31.47 kB / 0.8511 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.052e-05/0.617, allocations: 26.27 kB / 0.8511 GB, free: 10.37 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0004197/0.6174, allocations: 228.4 kB / 0.8513 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.438e-05/0.6175, allocations: 67.91 kB / 0.8514 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001116/0.6186, allocations: 0.7593 MB / 0.8521 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.6186, allocations: 4.75 kB / 0.8521 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.6186, allocations: 1.312 kB / 0.8521 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.6186, allocations: 1.438 kB / 0.8521 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001835/0.6205, allocations: 1.459 MB / 0.8536 GB, free: 8.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.6205, allocations: 5.438 kB / 0.8536 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002407/0.6207, allocations: 65.38 kB / 0.8536 GB, free: 8.66 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000445/0.6212, allocations: 206.7 kB / 0.8538 GB, free: 8.547 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.967e-05/0.6212, allocations: 11.16 kB / 0.8538 GB, free: 8.539 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003712/0.6249, allocations: 4.962 MB / 0.8587 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.6249, allocations: 6.656 kB / 0.8587 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001377/0.6263, allocations: 1.138 MB / 0.8598 GB, free: 3.242 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002191/0.6265, allocations: 96.83 kB / 0.8599 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.138e-05/0.6266, allocations: 16.06 kB / 0.8599 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/0.6268, allocations: 24.84 kB / 0.8599 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.456e-05/0.6268, allocations: 31.38 kB / 0.8599 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.069e-05/0.6269, allocations: 13.16 kB / 0.86 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000323/0.6272, allocations: 322.4 kB / 0.8603 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6272, allocations: 4.062 kB / 0.8603 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000724/0.6279, allocations: 166.2 kB / 0.8604 GB, free: 2.918 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001579/0.6295, allocations: 1.691 MB / 0.8621 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001271/0.6308, allocations: 0.9611 MB / 0.863 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.6308, allocations: 5.344 kB / 0.863 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006108/0.6314, allocations: 0.6653 MB / 0.8637 GB, free: 480 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009444/0.6323, allocations: 186.4 kB / 0.8639 GB, free: 380 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006529/0.6388, allocations: 5.646 MB / 0.8694 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005601/0.6394, allocations: 0.9492 MB / 0.8703 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003807/0.6398, allocations: 114.9 kB / 0.8704 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002194/0.64, allocations: 212.7 kB / 0.8706 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of SimCode: time 1.463e-06/0.64, allocations: 0 / 0.8706 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03771/0.6777, allocations: 14.75 MB / 0.885 GB, free: 15.44 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.263/7.941, allocations: 9.969 kB / 0.885 GB, free: 15.44 MB / 0.6667 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.010616065002978] Failed to read output from testmodel.py, exit status != 0: 8.027964574983343 8.036262677 7.440756572 Calling exit ...