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.00111/0.00111, 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.0008992/0.0008992, allocations: 213.7 kB / 22.24 MB, free: 3.586 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.9142/0.9142, 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.7885/0.7885, allocations: 203.8 MB / 0.5042 GB, free: 10.44 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.0008907/0.0008907, allocations: 67.89 kB / 0.7182 GB, free: 4.004 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4564/0.4573, 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.004958/0.4622, allocations: 5.28 MB / 0.823 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00311/0.4653, allocations: 2.622 MB / 0.8255 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002691/0.4656, allocations: 32.97 kB / 0.8255 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001017/0.4666, allocations: 0.6749 MB / 0.8262 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007048/0.4673, allocations: 422.1 kB / 0.8266 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006918/0.468, allocations: 393.9 kB / 0.827 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008699/0.4689, allocations: 0.9582 MB / 0.8279 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004981/0.4694, allocations: 365.7 kB / 0.8283 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006154/0.47, allocations: 393.8 kB / 0.8286 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005525/0.4705, allocations: 401.9 kB / 0.829 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.299e-05/0.4706, allocations: 48.31 kB / 0.8291 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005337/0.4712, allocations: 325.7 kB / 0.8294 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002465/0.4714, allocations: 255.3 kB / 0.8296 GB, free: 9.996 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003126/0.4717, allocations: 296.6 kB / 0.8299 GB, free: 9.844 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001339/0.4731, allocations: 0.987 MB / 0.8309 GB, free: 9.5 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.4731, allocations: 0 / 0.8309 GB, free: 9.5 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.675e-06/0.4731, allocations: 1.062 kB / 0.8309 GB, free: 9.5 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.319e-05/0.4731, allocations: 0 / 0.8309 GB, free: 9.5 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.001397/0.4745, allocations: 0.9044 MB / 0.8318 GB, free: 8.879 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.4745, allocations: 18.39 kB / 0.8318 GB, free: 8.871 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001002/0.4746, allocations: 100 kB / 0.8319 GB, free: 8.797 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009066/0.4755, allocations: 199.2 kB / 0.8321 GB, free: 8.75 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006017/0.4761, allocations: 459.9 kB / 0.8325 GB, free: 8.457 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.96e-05/0.4762, allocations: 40.58 kB / 0.8325 GB, free: 8.434 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.4763, allocations: 64.52 kB / 0.8326 GB, free: 8.406 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009259/0.4772, allocations: 0.9735 MB / 0.8335 GB, free: 7.758 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.4772, allocations: 7.344 kB / 0.8336 GB, free: 7.754 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.324e-05/0.4773, allocations: 23.58 kB / 0.8336 GB, free: 7.738 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001152/0.4774, allocations: 67.33 kB / 0.8336 GB, free: 7.73 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000669/0.4781, allocations: 0.5679 MB / 0.8342 GB, free: 7.531 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003041/0.4811, allocations: 3.569 MB / 0.8377 GB, free: 4.738 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004065/0.4815, allocations: 280.7 kB / 0.8379 GB, free: 4.621 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002293/0.4817, allocations: 205.6 kB / 0.8381 GB, free: 4.543 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.4818, allocations: 4.844 kB / 0.8381 GB, free: 4.543 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.4818, allocations: 37.67 kB / 0.8382 GB, free: 4.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=33): time 2.364e-06/0.4818, allocations: 5.188 kB / 0.8382 GB, free: 4.496 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.00368/0.4855, allocations: 2.334 MB / 0.8405 GB, free: 3.398 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.4855, allocations: 55.53 kB / 0.8405 GB, free: 3.336 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000379/0.4859, allocations: 475.8 kB / 0.841 GB, free: 3.039 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/0.4859, allocations: 31.36 kB / 0.841 GB, free: 3.004 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/0.4861, allocations: 348.2 kB / 0.8413 GB, free: 2.695 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.7e-05/0.4862, allocations: 153.8 kB / 0.8415 GB, free: 2.562 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.4863, allocations: 106.2 kB / 0.8416 GB, free: 2.492 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.4864, allocations: 359.2 kB / 0.8419 GB, free: 2.145 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002626/0.4867, allocations: 241 kB / 0.8422 GB, free: 2.027 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003439/0.487, allocations: 411.8 kB / 0.8426 GB, free: 1.691 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006494/0.4877, allocations: 0.673 MB / 0.8432 GB, free: 1.215 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.4877, allocations: 1.406 kB / 0.8432 GB, free: 1.215 MB / 0.6198 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001157/0.4888, allocations: 0.922 MB / 0.8441 GB, free: 0.7031 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.4889, allocations: 7.156 kB / 0.8441 GB, free: 0.7031 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.4889, allocations: 8.406 kB / 0.8441 GB, free: 0.6992 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004927/0.4894, allocations: 234.9 kB / 0.8443 GB, free: 0.5703 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000313/0.4897, allocations: 117.2 kB / 0.8445 GB, free: 0.5391 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003589/0.4933, allocations: 4.994 MB / 0.8493 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002662/0.4935, allocations: 30.41 kB / 0.8494 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.338e-05/0.4936, allocations: 23.19 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.0002372/0.4938, allocations: 236 kB / 0.8496 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.781e-05/0.4939, allocations: 60.05 kB / 0.8497 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009541/0.4948, allocations: 0.7626 MB / 0.8504 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.4948, allocations: 8.062 kB / 0.8504 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.4948, allocations: 2.75 kB / 0.8504 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.299e-06/0.4948, allocations: 1.375 kB / 0.8504 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001682/0.4965, allocations: 1.392 MB / 0.8518 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.4965, allocations: 2 kB / 0.8518 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002034/0.4967, allocations: 73.81 kB / 0.8519 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003889/0.4971, allocations: 206.8 kB / 0.8521 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.806e-05/0.4971, allocations: 7.344 kB / 0.8521 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003266/0.5004, allocations: 4.941 MB / 0.8569 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.5004, allocations: 7.062 kB / 0.8569 GB, free: 5.637 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/0.5016, allocations: 1.137 MB / 0.858 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001423/0.5017, allocations: 96.86 kB / 0.8581 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.919e-05/0.5018, allocations: 12.16 kB / 0.8581 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.5019, allocations: 23.75 kB / 0.8581 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.182e-05/0.502, allocations: 41.39 kB / 0.8582 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.502, allocations: 13.53 kB / 0.8582 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002429/0.5023, allocations: 311.6 kB / 0.8585 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.5023, allocations: 0 / 0.8585 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005497/0.5028, allocations: 170.2 kB / 0.8586 GB, free: 4.59 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.001379/0.5042, allocations: 1.684 MB / 0.8603 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00104/0.5052, allocations: 0.9568 MB / 0.8612 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.5052, allocations: 1.094 kB / 0.8612 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005351/0.5058, allocations: 0.6694 MB / 0.8619 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005656/0.5063, allocations: 178.9 kB / 0.862 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005626/0.512, allocations: 5.63 MB / 0.8675 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.5123, allocations: 345.4 kB / 0.8679 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002623/0.5125, allocations: 106.7 kB / 0.868 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001968/0.5127, allocations: 212.4 kB / 0.8682 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of SimCode: time 8.12e-07/0.5127, allocations: 7.938 kB / 0.8682 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03119/0.5439, allocations: 15.6 MB / 0.8834 GB, free: 0.9102 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.327/7.871, allocations: 12.53 kB / 0.8834 GB, free: 0.9023 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.692644134163857] Failed to read output from testmodel.py, exit status != 0: 7.958336804993451 7.972931396 7.497095257 Calling exit ...