Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008637/0.0008637, allocations: 109.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.001555/0.001555, allocations: 214.2 kB / 22.25 MB, free: 3.578 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.9689/0.9689, allocations: 230.6 MB / 256 MB, free: 9.625 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.772/0.772, allocations: 203.5 MB / 0.5039 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 4.0.0/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_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_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.0008974/0.0008974, allocations: 66.48 kB / 0.7178 GB, free: 4.434 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5162/0.5171, allocations: 102 MB / 0.8174 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.005275/0.5224, allocations: 5.352 MB / 0.8226 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004012/0.5264, allocations: 2.634 MB / 0.8252 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005009/0.5269, allocations: 33.06 kB / 0.8252 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001333/0.5282, allocations: 0.6774 MB / 0.8259 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0009948/0.5292, allocations: 424.2 kB / 0.8263 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009761/0.5302, allocations: 408 kB / 0.8267 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001037/0.5312, allocations: 0.9646 MB / 0.8276 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005664/0.5318, allocations: 377.8 kB / 0.828 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007092/0.5325, allocations: 392.7 kB / 0.8283 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006815/0.5332, allocations: 403 kB / 0.8287 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.585e-05/0.5333, allocations: 47.25 kB / 0.8288 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008013/0.5341, allocations: 329.2 kB / 0.8291 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002585/0.5343, allocations: 254.8 kB / 0.8293 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002798/0.5346, allocations: 289.5 kB / 0.8296 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001546/0.5361, allocations: 0.9889 MB / 0.8306 GB, free: 9.664 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.5362, allocations: 9.094 kB / 0.8306 GB, free: 9.656 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.264e-06/0.5362, allocations: 0 / 0.8306 GB, free: 9.656 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.063e-05/0.5362, allocations: 3.938 kB / 0.8306 GB, free: 9.652 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.001511/0.5377, allocations: 0.9149 MB / 0.8315 GB, free: 9.023 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.5377, allocations: 10.09 kB / 0.8315 GB, free: 9.023 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.963e-05/0.5378, allocations: 96.36 kB / 0.8316 GB, free: 8.953 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009167/0.5388, allocations: 203.4 kB / 0.8318 GB, free: 8.902 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006888/0.5394, allocations: 481.5 kB / 0.8322 GB, free: 8.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.304e-05/0.5395, allocations: 38.03 kB / 0.8323 GB, free: 8.57 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/0.5396, allocations: 59.36 kB / 0.8323 GB, free: 8.547 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.5406, allocations: 0.982 MB / 0.8333 GB, free: 7.891 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/0.5406, allocations: 2.953 kB / 0.8333 GB, free: 7.891 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.022e-05/0.5407, allocations: 19.94 kB / 0.8333 GB, free: 7.879 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001218/0.5408, allocations: 67.03 kB / 0.8334 GB, free: 7.871 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007713/0.5416, allocations: 0.5714 MB / 0.8339 GB, free: 7.668 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003018/0.5446, allocations: 3.575 MB / 0.8374 GB, free: 4.875 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003748/0.545, allocations: 275.7 kB / 0.8377 GB, free: 4.762 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000256/0.5452, allocations: 214.8 kB / 0.8379 GB, free: 4.676 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.5452, allocations: 4.219 kB / 0.8379 GB, free: 4.676 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.5453, allocations: 37.34 kB / 0.8379 GB, free: 4.633 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=33): time 1.593e-06/0.5453, allocations: 0 / 0.8379 GB, free: 4.633 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.003614/0.5489, allocations: 2.348 MB / 0.8402 GB, free: 3.566 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.5489, allocations: 63.47 kB / 0.8403 GB, free: 3.496 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003509/0.5493, allocations: 467.1 kB / 0.8407 GB, free: 3.207 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.5493, allocations: 35.11 kB / 0.8408 GB, free: 3.168 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.5495, allocations: 349.8 kB / 0.8411 GB, free: 2.859 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002123/0.5497, allocations: 153.1 kB / 0.8412 GB, free: 2.727 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.5498, allocations: 105.9 kB / 0.8413 GB, free: 2.656 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.864e-05/0.5499, allocations: 364.5 kB / 0.8417 GB, free: 2.305 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002487/0.5501, allocations: 232 kB / 0.8419 GB, free: 2.195 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003225/0.5505, allocations: 408.4 kB / 0.8423 GB, free: 1.863 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005999/0.5511, allocations: 0.6767 MB / 0.843 GB, free: 1.383 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.5511, allocations: 1.406 kB / 0.843 GB, free: 1.383 MB / 0.6198 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001181/0.5522, allocations: 0.9182 MB / 0.8439 GB, free: 0.875 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.5523, allocations: 7.438 kB / 0.8439 GB, free: 0.875 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.5523, allocations: 5.281 kB / 0.8439 GB, free: 0.875 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004546/0.5527, allocations: 221.5 kB / 0.8441 GB, free: 0.7578 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002993/0.553, allocations: 117.6 kB / 0.8442 GB, free: 0.7266 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003572/0.5566, allocations: 5.007 MB / 0.8491 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003271/0.5569, allocations: 32.72 kB / 0.8491 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.875e-05/0.557, allocations: 23.69 kB / 0.8491 GB, free: 12.13 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.0002856/0.5572, allocations: 224.2 kB / 0.8494 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.29e-05/0.5573, allocations: 68.08 kB / 0.8494 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009229/0.5582, allocations: 0.7601 MB / 0.8502 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.5582, allocations: 4.312 kB / 0.8502 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.5582, allocations: 10.73 kB / 0.8502 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.5582, allocations: 0 / 0.8502 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001628/0.5599, allocations: 1.402 MB / 0.8515 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.5599, allocations: 1.812 kB / 0.8515 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000211/0.5601, allocations: 69.91 kB / 0.8516 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003854/0.5605, allocations: 209.7 kB / 0.8518 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/0.5605, allocations: 8.656 kB / 0.8518 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002972/0.5635, allocations: 4.934 MB / 0.8566 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.5635, allocations: 3.281 kB / 0.8566 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001534/0.565, allocations: 1.13 MB / 0.8577 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001999/0.5652, allocations: 100 kB / 0.8578 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.673e-05/0.5652, allocations: 9.062 kB / 0.8578 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001864/0.5654, allocations: 24.25 kB / 0.8579 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.044e-05/0.5655, allocations: 36.75 kB / 0.8579 GB, free: 5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.5655, allocations: 13.09 kB / 0.8579 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002846/0.5658, allocations: 313.8 kB / 0.8582 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5658, allocations: 0 / 0.8582 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006395/0.5665, allocations: 171.4 kB / 0.8584 GB, free: 4.789 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.001385/0.5678, allocations: 1.691 MB / 0.86 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001113/0.569, allocations: 0.968 MB / 0.861 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.569, allocations: 1.375 kB / 0.861 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005852/0.5695, allocations: 0.6694 MB / 0.8616 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006073/0.5702, allocations: 190.5 kB / 0.8618 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005924/0.5761, allocations: 5.651 MB / 0.8673 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005738/0.5766, allocations: 347.8 kB / 0.8677 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003141/0.577, allocations: 107 kB / 0.8678 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001997/0.5772, allocations: 217.6 kB / 0.868 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of SimCode: time 1.473e-06/0.5772, allocations: 4 kB / 0.868 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03599/0.6132, allocations: 15.69 MB / 0.8833 GB, free: 0.9844 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.203/7.816, allocations: 11.67 kB / 0.8833 GB, free: 0.9805 MB / 0.6511 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.70634896075353] Failed to read output from testmodel.py, exit status != 0: 7.9025812852196395 7.91122014 7.373175181 Calling exit ...