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.0009858/0.0009858, 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.001289/0.001289, allocations: 223.7 kB / 22.26 MB, free: 3.703 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.9681/0.9681, allocations: 230.6 MB / 256 MB, free: 9.797 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.818/0.818, allocations: 203.8 MB / 0.5042 GB, free: 10.72 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.001659/0.001659, allocations: 65.66 kB / 0.7182 GB, free: 4.328 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5691/0.5708, allocations: 102 MB / 0.8179 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.006534/0.5773, allocations: 5.748 MB / 0.8235 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004403/0.5817, allocations: 2.787 MB / 0.8262 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005555/0.5823, allocations: 34.03 kB / 0.8262 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001707/0.584, allocations: 0.7027 MB / 0.8269 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001081/0.5851, allocations: 426.5 kB / 0.8273 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.5861, allocations: 422.1 kB / 0.8277 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001094/0.5872, allocations: 0.9574 MB / 0.8287 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005567/0.5878, allocations: 377.7 kB / 0.829 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005414/0.5883, allocations: 389.3 kB / 0.8294 GB, free: 9.871 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005839/0.5889, allocations: 426.8 kB / 0.8298 GB, free: 9.703 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.769e-05/0.589, allocations: 52.12 kB / 0.8299 GB, free: 9.699 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008583/0.5898, allocations: 374 kB / 0.8302 GB, free: 9.578 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003522/0.5902, allocations: 254.5 kB / 0.8305 GB, free: 9.473 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000421/0.5906, allocations: 354 kB / 0.8308 GB, free: 9.266 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001575/0.5922, allocations: 0.9841 MB / 0.8318 GB, free: 8.918 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.5922, allocations: 0.6875 kB / 0.8318 GB, free: 8.918 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.014e-06/0.5922, allocations: 0 / 0.8318 GB, free: 8.918 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.57e-05/0.5922, allocations: 0.5312 kB / 0.8318 GB, free: 8.918 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.001488/0.5937, allocations: 0.9228 MB / 0.8327 GB, free: 8.281 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.5937, allocations: 13.66 kB / 0.8327 GB, free: 8.277 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001174/0.5939, allocations: 92.44 kB / 0.8328 GB, free: 8.211 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001041/0.5949, allocations: 203.2 kB / 0.8329 GB, free: 8.16 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009744/0.5959, allocations: 473.7 kB / 0.8334 GB, free: 7.855 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.838e-05/0.5959, allocations: 33.34 kB / 0.8334 GB, free: 7.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.596, allocations: 59.36 kB / 0.8335 GB, free: 7.816 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.597, allocations: 0.827 MB / 0.8343 GB, free: 7.348 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.5971, allocations: 7.016 kB / 0.8343 GB, free: 7.344 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.917e-05/0.5971, allocations: 23.81 kB / 0.8343 GB, free: 7.328 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001332/0.5972, allocations: 63.84 kB / 0.8344 GB, free: 7.324 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008116/0.598, allocations: 0.5732 MB / 0.8349 GB, free: 7.117 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004011/0.6021, allocations: 4.504 MB / 0.8393 GB, free: 3.277 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004038/0.6025, allocations: 277.4 kB / 0.8396 GB, free: 3.164 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002467/0.6027, allocations: 211.3 kB / 0.8398 GB, free: 3.082 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.827e-05/0.6027, allocations: 8.453 kB / 0.8398 GB, free: 3.078 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.6028, allocations: 37.12 kB / 0.8399 GB, free: 3.035 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=33): time 2.114e-06/0.6028, allocations: 0 / 0.8399 GB, free: 3.035 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.003805/0.6066, allocations: 2.35 MB / 0.8421 GB, free: 1.879 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.6066, allocations: 55.91 kB / 0.8422 GB, free: 1.816 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004/0.607, allocations: 465.3 kB / 0.8426 GB, free: 1.527 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.607, allocations: 36.45 kB / 0.8427 GB, free: 1.488 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/0.6072, allocations: 348.3 kB / 0.843 GB, free: 1.18 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.104e-05/0.6073, allocations: 150 kB / 0.8432 GB, free: 1.051 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.6074, allocations: 104.9 kB / 0.8433 GB, free: 0.9805 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.6075, allocations: 367.1 kB / 0.8436 GB, free: 0.625 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000248/0.6077, allocations: 235.9 kB / 0.8438 GB, free: 0.5117 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003257/0.6081, allocations: 415.7 kB / 0.8442 GB, free: 172 kB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006443/0.6087, allocations: 0.6738 MB / 0.8449 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.6087, allocations: 5.125 kB / 0.8449 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001144/0.6099, allocations: 0.9087 MB / 0.8458 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.6099, allocations: 14.98 kB / 0.8458 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.6099, allocations: 5.656 kB / 0.8458 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004892/0.6104, allocations: 217.4 kB / 0.846 GB, free: 15.06 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000311/0.6107, allocations: 121 kB / 0.8461 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003797/0.6145, allocations: 5.042 MB / 0.851 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003422/0.6148, allocations: 37.62 kB / 0.8511 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.971e-05/0.6149, allocations: 23.38 kB / 0.8511 GB, free: 10.39 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.0002932/0.6152, allocations: 220 kB / 0.8513 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.077e-05/0.6152, allocations: 63.97 kB / 0.8514 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009477/0.6162, allocations: 0.7595 MB / 0.8521 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.6162, allocations: 4.469 kB / 0.8521 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.6162, allocations: 2.625 kB / 0.8521 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.6162, allocations: 3.984 kB / 0.8521 GB, free: 9.703 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001759/0.6179, allocations: 1.463 MB / 0.8536 GB, free: 8.695 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.618, allocations: 2.219 kB / 0.8536 GB, free: 8.695 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002046/0.6182, allocations: 69.05 kB / 0.8536 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003771/0.6185, allocations: 206.4 kB / 0.8538 GB, free: 8.562 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.384e-05/0.6186, allocations: 8.406 kB / 0.8538 GB, free: 8.559 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003258/0.6218, allocations: 4.966 MB / 0.8587 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.6218, allocations: 2.312 kB / 0.8587 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/0.6231, allocations: 1.133 MB / 0.8598 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001925/0.6232, allocations: 100.9 kB / 0.8599 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.989e-05/0.6233, allocations: 12.73 kB / 0.8599 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/0.6235, allocations: 23.06 kB / 0.8599 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.438e-05/0.6235, allocations: 44.41 kB / 0.86 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.6236, allocations: 9.469 kB / 0.86 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002709/0.6238, allocations: 317.6 kB / 0.8603 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6238, allocations: 0 / 0.8603 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000626/0.6245, allocations: 170.1 kB / 0.8604 GB, free: 2.938 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.001598/0.6261, allocations: 1.684 MB / 0.8621 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001278/0.6273, allocations: 0.9646 MB / 0.863 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.6273, allocations: 1.406 kB / 0.863 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006236/0.628, allocations: 0.6777 MB / 0.8637 GB, free: 496 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006865/0.6286, allocations: 182.4 kB / 0.8639 GB, free: 400 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006647/0.6353, allocations: 5.648 MB / 0.8694 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005664/0.6359, allocations: 0.9455 MB / 0.8703 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000465/0.6363, allocations: 114.1 kB / 0.8704 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002097/0.6365, allocations: 217 kB / 0.8706 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of SimCode: time 1.263e-06/0.6365, allocations: 0 / 0.8706 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04023/0.6768, allocations: 14.75 MB / 0.885 GB, free: 15.5 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.628/8.305, allocations: 2.922 kB / 0.885 GB, free: 15.5 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.317771655041724] Failed to read output from testmodel.py, exit status != 0: 8.394919347018003 8.407105121 7.812833657 Calling exit ...