Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.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.000779/0.000779, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.001277/0.001277, allocations: 209.7 kB / 22.24 MB, free: 3.57 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.9656/0.9656, allocations: 230.6 MB / 256 MB, free: 9.605 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.788/0.788, allocations: 203.8 MB / 0.5042 GB, free: 10.45 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.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_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.001472/0.001472, allocations: 62.62 kB / 0.7182 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5002/0.5016, allocations: 102 MB / 0.8178 GB, free: 1.027 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.005488/0.5071, allocations: 5.269 MB / 0.8229 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00342/0.5105, allocations: 2.617 MB / 0.8255 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003254/0.5109, allocations: 33.31 kB / 0.8255 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.00118/0.512, allocations: 0.6709 MB / 0.8262 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0009346/0.513, allocations: 422.7 kB / 0.8266 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009246/0.5139, allocations: 402.8 kB / 0.827 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001037/0.5149, allocations: 0.9527 MB / 0.8279 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005728/0.5155, allocations: 373.9 kB / 0.8283 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006292/0.5161, allocations: 386.2 kB / 0.8286 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005778/0.5167, allocations: 409.5 kB / 0.829 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.703e-05/0.5168, allocations: 48.75 kB / 0.8291 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000721/0.5175, allocations: 325.2 kB / 0.8294 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002872/0.5178, allocations: 254.3 kB / 0.8296 GB, free: 10 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003521/0.5182, allocations: 289.3 kB / 0.8299 GB, free: 9.855 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001598/0.5197, allocations: 0.9829 MB / 0.8309 GB, free: 9.516 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.5198, allocations: 9.188 kB / 0.8309 GB, free: 9.508 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.134e-06/0.5198, allocations: 0 / 0.8309 GB, free: 9.508 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.99e-05/0.5198, allocations: 0 / 0.8309 GB, free: 9.508 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.001668/0.5214, allocations: 0.9126 MB / 0.8318 GB, free: 8.879 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.793e-05/0.5215, allocations: 10.25 kB / 0.8318 GB, free: 8.879 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000118/0.5216, allocations: 104.3 kB / 0.8319 GB, free: 8.801 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.5226, allocations: 203 kB / 0.8321 GB, free: 8.75 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007095/0.5233, allocations: 451 kB / 0.8325 GB, free: 8.465 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.28e-05/0.5234, allocations: 41.25 kB / 0.8325 GB, free: 8.441 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001477/0.5235, allocations: 60.84 kB / 0.8326 GB, free: 8.418 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/0.5248, allocations: 0.9777 MB / 0.8335 GB, free: 7.766 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.543e-05/0.5248, allocations: 6.703 kB / 0.8335 GB, free: 7.762 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.341e-05/0.5248, allocations: 19.69 kB / 0.8336 GB, free: 7.75 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001543/0.525, allocations: 68.14 kB / 0.8336 GB, free: 7.742 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007965/0.5258, allocations: 0.5664 MB / 0.8342 GB, free: 7.543 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003561/0.5294, allocations: 3.574 MB / 0.8377 GB, free: 4.746 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004488/0.5298, allocations: 275.5 kB / 0.8379 GB, free: 4.633 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002446/0.53, allocations: 215.5 kB / 0.8381 GB, free: 4.547 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.692e-05/0.5301, allocations: 3.406 kB / 0.8381 GB, free: 4.547 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.5301, allocations: 33.81 kB / 0.8382 GB, free: 4.508 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=33): time 2.164e-06/0.5301, allocations: 1.219 kB / 0.8382 GB, free: 4.508 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.004023/0.5341, allocations: 2.345 MB / 0.8405 GB, free: 3.398 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.5342, allocations: 59.84 kB / 0.8405 GB, free: 3.332 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004058/0.5346, allocations: 471.8 kB / 0.841 GB, free: 3.039 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/0.5346, allocations: 31.83 kB / 0.841 GB, free: 3.004 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001877/0.5348, allocations: 352.9 kB / 0.8413 GB, free: 2.691 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.621e-05/0.5349, allocations: 148.4 kB / 0.8415 GB, free: 2.562 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.535, allocations: 103.4 kB / 0.8416 GB, free: 2.496 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.5351, allocations: 359.4 kB / 0.8419 GB, free: 2.148 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002877/0.5354, allocations: 238.9 kB / 0.8422 GB, free: 2.031 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003953/0.5358, allocations: 412.6 kB / 0.8425 GB, free: 1.695 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007079/0.5365, allocations: 0.6734 MB / 0.8432 GB, free: 1.219 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.5365, allocations: 1.219 kB / 0.8432 GB, free: 1.219 MB / 0.6198 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001162/0.5377, allocations: 0.9216 MB / 0.8441 GB, free: 0.707 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.5377, allocations: 7.688 kB / 0.8441 GB, free: 0.707 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.5377, allocations: 4.906 kB / 0.8441 GB, free: 0.707 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004838/0.5382, allocations: 230.6 kB / 0.8443 GB, free: 0.582 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003155/0.5385, allocations: 112.7 kB / 0.8444 GB, free: 0.5547 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003607/0.5421, allocations: 5.002 MB / 0.8493 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003495/0.5425, allocations: 30.53 kB / 0.8494 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.901e-05/0.5425, allocations: 35.62 kB / 0.8494 GB, free: 11.95 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.000299/0.5428, allocations: 232 kB / 0.8496 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.308e-05/0.5429, allocations: 59.61 kB / 0.8497 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009255/0.5438, allocations: 0.7603 MB / 0.8504 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.5438, allocations: 7.469 kB / 0.8504 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.5438, allocations: 3 kB / 0.8504 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.5438, allocations: 0 / 0.8504 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001692/0.5455, allocations: 1.393 MB / 0.8518 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.5455, allocations: 1.438 kB / 0.8518 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002256/0.5457, allocations: 78.09 kB / 0.8519 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003776/0.5461, allocations: 201.2 kB / 0.8521 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/0.5461, allocations: 8.375 kB / 0.8521 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003161/0.5493, allocations: 4.938 MB / 0.8569 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.5493, allocations: 2.625 kB / 0.8569 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.5505, allocations: 1.137 MB / 0.858 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001819/0.5507, allocations: 97.2 kB / 0.8581 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.932e-05/0.5507, allocations: 12.78 kB / 0.8581 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.5509, allocations: 23.5 kB / 0.8581 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.433e-05/0.551, allocations: 40.89 kB / 0.8582 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.148e-05/0.551, allocations: 14 kB / 0.8582 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002693/0.5513, allocations: 311 kB / 0.8585 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.5513, allocations: 0 / 0.8585 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005931/0.5519, allocations: 166.4 kB / 0.8586 GB, free: 4.605 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.001354/0.5532, allocations: 1.688 MB / 0.8603 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001114/0.5543, allocations: 0.9644 MB / 0.8612 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.5543, allocations: 1.281 kB / 0.8612 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000575/0.5549, allocations: 0.6657 MB / 0.8619 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006344/0.5555, allocations: 187.5 kB / 0.8621 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00636/0.5619, allocations: 5.621 MB / 0.8675 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.5622, allocations: 350.5 kB / 0.8679 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003803/0.5626, allocations: 110.3 kB / 0.868 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002014/0.5628, allocations: 209.3 kB / 0.8682 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of SimCode: time 1.212e-06/0.5628, allocations: 0 / 0.8682 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04387/0.6067, allocations: 15.6 MB / 0.8834 GB, free: 0.9531 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.282/7.889, allocations: 5.344 kB / 0.8834 GB, free: 0.9492 MB / 0.6511 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.OnePhase.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_OnePhase_Lines_Examples_ACLine_RL.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.907152672763914] Failed to read output from testmodel.py, exit status != 0: 7.976462829858065 7.987814727 7.464999138 Calling exit ...