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.0006443/0.0006443, allocations: 105.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.0007471/0.0007471, allocations: 208.1 kB / 22.24 MB, free: 3.59 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.9562/0.9562, allocations: 230.6 MB / 256 MB, free: 9.621 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.8149/0.8149, allocations: 203.8 MB / 0.5042 GB, free: 10.47 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.0008492/0.0008492, allocations: 63.22 kB / 0.7182 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5274/0.5283, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.005541/0.5338, allocations: 5.364 MB / 0.823 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003922/0.5378, allocations: 2.635 MB / 0.8256 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003677/0.5381, allocations: 37.78 kB / 0.8256 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001265/0.5394, allocations: 0.6668 MB / 0.8263 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001098/0.5405, allocations: 429.9 kB / 0.8267 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.5415, allocations: 412.3 kB / 0.8271 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001054/0.5426, allocations: 0.9601 MB / 0.828 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000613/0.5432, allocations: 374.3 kB / 0.8284 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006246/0.5438, allocations: 388.6 kB / 0.8288 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005095/0.5443, allocations: 410 kB / 0.8291 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.534e-05/0.5444, allocations: 48.38 kB / 0.8292 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006342/0.545, allocations: 329.3 kB / 0.8295 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002589/0.5453, allocations: 259.6 kB / 0.8298 GB, free: 9.926 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003359/0.5456, allocations: 293.2 kB / 0.83 GB, free: 9.777 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001438/0.5471, allocations: 0.9895 MB / 0.831 GB, free: 9.434 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.5471, allocations: 0 / 0.831 GB, free: 9.434 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.715e-06/0.5471, allocations: 0 / 0.831 GB, free: 9.434 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.634e-05/0.5471, allocations: 0 / 0.831 GB, free: 9.434 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.001334/0.5484, allocations: 0.922 MB / 0.8319 GB, free: 8.797 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.5485, allocations: 10.34 kB / 0.8319 GB, free: 8.797 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.286e-05/0.5486, allocations: 96.81 kB / 0.832 GB, free: 8.727 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009188/0.5495, allocations: 202.9 kB / 0.8322 GB, free: 8.676 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000692/0.5502, allocations: 469.5 kB / 0.8326 GB, free: 8.375 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.271e-05/0.5502, allocations: 38.75 kB / 0.8327 GB, free: 8.355 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.5503, allocations: 51.69 kB / 0.8327 GB, free: 8.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009878/0.5513, allocations: 0.982 MB / 0.8337 GB, free: 7.684 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.5513, allocations: 6.031 kB / 0.8337 GB, free: 7.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.095e-05/0.5514, allocations: 27.3 kB / 0.8337 GB, free: 7.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001334/0.5515, allocations: 64.56 kB / 0.8338 GB, free: 7.656 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007473/0.5523, allocations: 0.571 MB / 0.8343 GB, free: 7.453 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003038/0.5553, allocations: 3.571 MB / 0.8378 GB, free: 4.664 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003756/0.5557, allocations: 275.5 kB / 0.8381 GB, free: 4.551 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002358/0.5559, allocations: 210 kB / 0.8383 GB, free: 4.469 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.5559, allocations: 9.453 kB / 0.8383 GB, free: 4.465 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.556, allocations: 37.56 kB / 0.8383 GB, free: 4.422 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=33): time 1.823e-06/0.556, allocations: 0 / 0.8383 GB, free: 4.422 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.004109/0.5601, allocations: 2.357 MB / 0.8406 GB, free: 3.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/0.5601, allocations: 55.53 kB / 0.8407 GB, free: 3.207 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004245/0.5605, allocations: 471.5 kB / 0.8411 GB, free: 2.914 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/0.5605, allocations: 31.55 kB / 0.8412 GB, free: 2.879 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/0.5607, allocations: 353 kB / 0.8415 GB, free: 2.566 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.354e-05/0.5608, allocations: 152.8 kB / 0.8417 GB, free: 2.434 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.5609, allocations: 110.2 kB / 0.8418 GB, free: 2.359 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.5611, allocations: 360.4 kB / 0.8421 GB, free: 2.012 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002644/0.5613, allocations: 243.3 kB / 0.8423 GB, free: 1.891 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00035/0.5617, allocations: 412.1 kB / 0.8427 GB, free: 1.555 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006287/0.5623, allocations: 0.6743 MB / 0.8434 GB, free: 1.078 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.5623, allocations: 1.5 kB / 0.8434 GB, free: 1.078 MB / 0.6198 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001117/0.5634, allocations: 0.9127 MB / 0.8443 GB, free: 0.5742 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.5635, allocations: 10.88 kB / 0.8443 GB, free: 0.5742 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.5635, allocations: 6 kB / 0.8443 GB, free: 0.5742 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004738/0.5639, allocations: 221.9 kB / 0.8445 GB, free: 468 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003145/0.5643, allocations: 120.6 kB / 0.8446 GB, free: 432 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003379/0.5676, allocations: 5.01 MB / 0.8495 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003734/0.568, allocations: 29.66 kB / 0.8495 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.27e-05/0.568, allocations: 23.62 kB / 0.8496 GB, free: 11.82 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.0003021/0.5683, allocations: 228.8 kB / 0.8498 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.473e-05/0.5684, allocations: 63.91 kB / 0.8498 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009329/0.5693, allocations: 0.7597 MB / 0.8506 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.5693, allocations: 8.109 kB / 0.8506 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.5693, allocations: 2.75 kB / 0.8506 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.5694, allocations: 0 / 0.8506 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001698/0.5711, allocations: 1.394 MB / 0.852 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.5711, allocations: 2.219 kB / 0.852 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002173/0.5713, allocations: 73.09 kB / 0.852 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003969/0.5717, allocations: 202 kB / 0.8522 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/0.5717, allocations: 9.344 kB / 0.8522 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003476/0.5752, allocations: 4.941 MB / 0.8571 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.5752, allocations: 2.188 kB / 0.8571 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001498/0.5767, allocations: 1.135 MB / 0.8582 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002109/0.5769, allocations: 96.27 kB / 0.8583 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.296e-05/0.5769, allocations: 13.59 kB / 0.8583 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/0.5771, allocations: 23.38 kB / 0.8583 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.812e-05/0.5772, allocations: 37.3 kB / 0.8583 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.351e-05/0.5772, allocations: 18.03 kB / 0.8583 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003622/0.5776, allocations: 317.4 kB / 0.8586 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.5776, allocations: 0 / 0.8586 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008792/0.5785, allocations: 166.9 kB / 0.8588 GB, free: 4.48 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.001836/0.5803, allocations: 1.692 MB / 0.8605 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001361/0.5817, allocations: 0.968 MB / 0.8614 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.5817, allocations: 5.094 kB / 0.8614 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000677/0.5823, allocations: 0.6667 MB / 0.8621 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007044/0.5831, allocations: 178.9 kB / 0.8622 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006481/0.5895, allocations: 5.649 MB / 0.8678 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004146/0.5899, allocations: 351.2 kB / 0.8681 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004499/0.5904, allocations: 123.3 kB / 0.8682 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002329/0.5906, allocations: 208.2 kB / 0.8684 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of SimCode: time 1.964e-06/0.5906, allocations: 1.125 kB / 0.8684 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04059/0.6312, allocations: 15.69 MB / 0.8837 GB, free: 0.5938 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.121/7.753, allocations: 6.453 kB / 0.8837 GB, free: 0.5938 MB / 0.6511 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: 10.715016493573785] Failed to read output from testmodel.py, exit status != 0: 7.838260120246559 7.847498656 7.298587418 Calling exit ...