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.001054/0.001054, 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.001152/0.001152, allocations: 212.1 kB / 22.25 MB, free: 3.727 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.953/0.953, allocations: 230.6 MB / 256 MB, free: 9.594 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.777/0.777, 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.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.0009157/0.0009157, allocations: 66.98 kB / 0.7182 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4745/0.4755, allocations: 102 MB / 0.8178 GB, free: 1.027 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.004915/0.4804, allocations: 5.359 MB / 0.823 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003443/0.4838, allocations: 2.629 MB / 0.8256 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003446/0.4842, allocations: 34.03 kB / 0.8256 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001095/0.4853, allocations: 0.6856 MB / 0.8263 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0008185/0.4861, allocations: 427.1 kB / 0.8267 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008479/0.4869, allocations: 404.2 kB / 0.8271 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009139/0.4878, allocations: 0.9644 MB / 0.828 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004927/0.4883, allocations: 378.2 kB / 0.8284 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004761/0.4888, allocations: 388.3 kB / 0.8288 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004962/0.4893, allocations: 406.6 kB / 0.8291 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.808e-05/0.4894, allocations: 48.97 kB / 0.8292 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008478/0.4902, allocations: 327.6 kB / 0.8295 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003255/0.4905, allocations: 256.1 kB / 0.8298 GB, free: 9.922 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0004806/0.491, allocations: 289 kB / 0.83 GB, free: 9.777 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00207/0.4931, allocations: 0.9852 MB / 0.831 GB, free: 9.438 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.857e-06/0.4931, allocations: 8 kB / 0.831 GB, free: 9.43 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.677e-06/0.4931, allocations: 0.875 kB / 0.831 GB, free: 9.43 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.866e-05/0.4931, allocations: 3.938 kB / 0.831 GB, free: 9.426 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.001796/0.4949, allocations: 0.9147 MB / 0.8319 GB, free: 8.797 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.495, allocations: 8.656 kB / 0.8319 GB, free: 8.797 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001078/0.4951, allocations: 105.4 kB / 0.832 GB, free: 8.719 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000982/0.4961, allocations: 204 kB / 0.8322 GB, free: 8.668 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007807/0.4968, allocations: 464.7 kB / 0.8326 GB, free: 8.371 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.377e-05/0.4969, allocations: 41.92 kB / 0.8327 GB, free: 8.348 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.497, allocations: 56.64 kB / 0.8327 GB, free: 8.328 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.498, allocations: 0.978 MB / 0.8337 GB, free: 7.676 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.498, allocations: 6.531 kB / 0.8337 GB, free: 7.672 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.092e-05/0.4981, allocations: 23.03 kB / 0.8337 GB, free: 7.656 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001451/0.4982, allocations: 67.47 kB / 0.8338 GB, free: 7.648 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006983/0.4989, allocations: 0.5674 MB / 0.8343 GB, free: 7.449 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003086/0.502, allocations: 3.583 MB / 0.8378 GB, free: 4.648 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003939/0.5024, allocations: 276.4 kB / 0.8381 GB, free: 4.535 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002432/0.5027, allocations: 211.3 kB / 0.8383 GB, free: 4.453 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.5027, allocations: 3.5 kB / 0.8383 GB, free: 4.453 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.5027, allocations: 33.78 kB / 0.8383 GB, free: 4.414 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=33): time 1.894e-06/0.5027, allocations: 3.938 kB / 0.8383 GB, free: 4.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.003776/0.5065, allocations: 2.348 MB / 0.8406 GB, free: 3.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.5065, allocations: 59.53 kB / 0.8407 GB, free: 3.184 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004213/0.5069, allocations: 467.3 kB / 0.8411 GB, free: 2.895 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.179e-05/0.507, allocations: 35.2 kB / 0.8412 GB, free: 2.855 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.5072, allocations: 357.6 kB / 0.8415 GB, free: 2.539 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.195e-05/0.5072, allocations: 148.8 kB / 0.8417 GB, free: 2.41 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.5074, allocations: 107 kB / 0.8418 GB, free: 2.34 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.5075, allocations: 362.7 kB / 0.8421 GB, free: 1.988 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002512/0.5077, allocations: 236.2 kB / 0.8423 GB, free: 1.875 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003416/0.5081, allocations: 413 kB / 0.8427 GB, free: 1.539 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006152/0.5087, allocations: 0.6726 MB / 0.8434 GB, free: 1.062 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.5087, allocations: 1.438 kB / 0.8434 GB, free: 1.062 MB / 0.6198 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001089/0.5098, allocations: 0.9142 MB / 0.8443 GB, free: 0.5586 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.5098, allocations: 7.844 kB / 0.8443 GB, free: 0.5586 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.5098, allocations: 8.344 kB / 0.8443 GB, free: 0.5547 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004558/0.5103, allocations: 230.4 kB / 0.8445 GB, free: 440 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002922/0.5106, allocations: 116.8 kB / 0.8446 GB, free: 408 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00331/0.5139, allocations: 4.994 MB / 0.8495 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003248/0.5142, allocations: 34 kB / 0.8495 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.932e-05/0.5142, allocations: 26.86 kB / 0.8496 GB, free: 11.81 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.000279/0.5145, allocations: 225.1 kB / 0.8498 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.547e-05/0.5146, allocations: 67.59 kB / 0.8498 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008931/0.5155, allocations: 0.7642 MB / 0.8506 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.5155, allocations: 4.031 kB / 0.8506 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.5155, allocations: 3.281 kB / 0.8506 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.5155, allocations: 3.984 kB / 0.8506 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001635/0.5171, allocations: 1.398 MB / 0.852 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.5171, allocations: 2.812 kB / 0.852 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002051/0.5173, allocations: 64.95 kB / 0.852 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003665/0.5177, allocations: 209.6 kB / 0.8522 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.183e-05/0.5177, allocations: 8.719 kB / 0.8522 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002841/0.5205, allocations: 4.942 MB / 0.8571 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.5205, allocations: 1.031 kB / 0.8571 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.5217, allocations: 1.13 MB / 0.8582 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001753/0.5219, allocations: 100.9 kB / 0.8583 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.053e-05/0.5219, allocations: 12.89 kB / 0.8583 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.5221, allocations: 23.62 kB / 0.8583 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.538e-05/0.5222, allocations: 37.41 kB / 0.8583 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.5222, allocations: 17.78 kB / 0.8583 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002572/0.5224, allocations: 309.9 kB / 0.8586 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5224, allocations: 0 / 0.8586 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005283/0.523, allocations: 174.1 kB / 0.8588 GB, free: 4.457 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.001293/0.5242, allocations: 1.692 MB / 0.8605 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001035/0.5253, allocations: 0.9621 MB / 0.8614 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.5253, allocations: 0 / 0.8614 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005522/0.5258, allocations: 0.6735 MB / 0.8621 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005699/0.5264, allocations: 186.6 kB / 0.8622 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005414/0.5318, allocations: 5.648 MB / 0.8677 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.5321, allocations: 351.6 kB / 0.8681 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002904/0.5324, allocations: 115 kB / 0.8682 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001884/0.5326, allocations: 216.3 kB / 0.8684 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of SimCode: time 1.233e-06/0.5326, allocations: 4 kB / 0.8684 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0377/0.5703, allocations: 15.7 MB / 0.8837 GB, free: 0.5508 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.142/7.712, allocations: 11.56 kB / 0.8837 GB, free: 0.543 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.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_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.691979977767915] Failed to read output from testmodel.py, exit status != 0: 7.801825985778123 7.816560383 7.320374608 Calling exit ...