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.0007798/0.0007798, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008674/0.0008674, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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.8825/0.8825, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.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.7012/0.7012, allocations: 154.6 MB / 413.7 MB, free: 0.832 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.173e-06/1.173e-06, allocations: 0 / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.091e-05/2.208e-05, allocations: 5.516 kB / 0.6181 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.004764/0.004786, allocations: 5.269 MB / 0.6232 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002981/0.007768, allocations: 2.603 MB / 0.6257 GB, free: 5.832 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002654/0.008033, allocations: 31.69 kB / 0.6258 GB, free: 5.801 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0009311/0.008964, allocations: 0.6877 MB / 0.6264 GB, free: 5.113 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0006312/0.009595, allocations: 445.2 kB / 0.6269 GB, free: 4.676 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006434/0.01024, allocations: 406.8 kB / 0.6273 GB, free: 4.277 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0007311/0.01097, allocations: 0.9941 MB / 0.6282 GB, free: 3.277 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003841/0.01135, allocations: 374.5 kB / 0.6286 GB, free: 2.902 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005681/0.01192, allocations: 0.5182 MB / 0.6291 GB, free: 2.383 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004183/0.01234, allocations: 363 kB / 0.6294 GB, free: 2.027 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 5.438e-05/0.01239, allocations: 48 kB / 0.6295 GB, free: 1.98 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004748/0.01287, allocations: 342.9 kB / 0.6298 GB, free: 1.645 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001861/0.01306, allocations: 255.2 kB / 0.6301 GB, free: 1.395 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001868/0.01324, allocations: 247.4 kB / 0.6303 GB, free: 1.152 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0009851/0.01423, allocations: 0.9969 MB / 0.6313 GB, free: 156 kB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.01423, allocations: 0 / 0.6313 GB, free: 156 kB / 0.5886 GB Notification: Performance of FrontEnd: time 2.365e-06/0.01423, allocations: 8 kB / 0.6313 GB, free: 148 kB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.01424, allocations: 0 / 0.6313 GB, free: 148 kB / 0.5886 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.0009873/0.01523, allocations: 0.9091 MB / 0.6322 GB, free: 15.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.01527, allocations: 13.47 kB / 0.6322 GB, free: 15.19 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.139e-05/0.01535, allocations: 94.7 kB / 0.6323 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006781/0.01603, allocations: 208.2 kB / 0.6325 GB, free: 14.89 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005112/0.01654, allocations: 468.1 kB / 0.6329 GB, free: 14.41 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.01656, allocations: 37.38 kB / 0.6329 GB, free: 14.38 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.166e-05/0.01665, allocations: 56.48 kB / 0.633 GB, free: 14.32 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007246/0.01738, allocations: 0.979 MB / 0.6339 GB, free: 13.22 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.01739, allocations: 12.06 kB / 0.634 GB, free: 13.21 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.278e-05/0.01743, allocations: 27.94 kB / 0.634 GB, free: 13.18 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.32e-05/0.01752, allocations: 64.94 kB / 0.634 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005405/0.01806, allocations: 0.5658 MB / 0.6346 GB, free: 12.55 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002499/0.02056, allocations: 3.565 MB / 0.6381 GB, free: 8.848 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002915/0.02085, allocations: 283.1 kB / 0.6384 GB, free: 8.562 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/0.02104, allocations: 209.3 kB / 0.6386 GB, free: 8.355 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.02106, allocations: 4.281 kB / 0.6386 GB, free: 8.352 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.02108, allocations: 38.84 kB / 0.6386 GB, free: 8.305 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 1.192e-06/0.02108, allocations: 0 / 0.6386 GB, free: 8.305 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.002955/0.02404, allocations: 2.34 MB / 0.6409 GB, free: 5.914 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.02407, allocations: 59.41 kB / 0.6409 GB, free: 5.844 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003214/0.02439, allocations: 470 kB / 0.6414 GB, free: 5.375 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.02441, allocations: 33.7 kB / 0.6414 GB, free: 5.336 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.02456, allocations: 348.5 kB / 0.6417 GB, free: 4.992 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.444e-05/0.02463, allocations: 154.7 kB / 0.6419 GB, free: 4.84 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.02473, allocations: 102.3 kB / 0.642 GB, free: 4.734 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.894e-05/0.02483, allocations: 362.7 kB / 0.6423 GB, free: 4.371 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002278/0.02506, allocations: 241.2 kB / 0.6426 GB, free: 4.133 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002982/0.02536, allocations: 411.3 kB / 0.643 GB, free: 3.656 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005408/0.0259, allocations: 0.6779 MB / 0.6436 GB, free: 2.906 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.0259, allocations: 4 kB / 0.6436 GB, free: 2.902 MB / 0.6042 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001001/0.0269, allocations: 0.9173 MB / 0.6445 GB, free: 1.969 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.02692, allocations: 11.98 kB / 0.6445 GB, free: 1.957 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.02692, allocations: 4 kB / 0.6445 GB, free: 1.953 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004076/0.02733, allocations: 226.8 kB / 0.6448 GB, free: 1.723 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000246/0.02758, allocations: 115.8 kB / 0.6449 GB, free: 1.609 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002796/0.03037, allocations: 5.002 MB / 0.6498 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001902/0.03056, allocations: 31.97 kB / 0.6498 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.426e-05/0.03059, allocations: 20 kB / 0.6498 GB, free: 12.21 MB / 0.6198 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.0001765/0.03076, allocations: 225.7 kB / 0.65 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.164e-05/0.03081, allocations: 55.67 kB / 0.6501 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008436/0.03166, allocations: 0.7733 MB / 0.6508 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.03166, allocations: 11.94 kB / 0.6508 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.03166, allocations: 0 / 0.6508 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.03167, allocations: 3.984 kB / 0.6508 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001419/0.03309, allocations: 1.399 MB / 0.6522 GB, free: 9.637 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.03309, allocations: 4 kB / 0.6522 GB, free: 9.633 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001758/0.03327, allocations: 67.89 kB / 0.6523 GB, free: 9.566 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003194/0.03358, allocations: 206.6 kB / 0.6525 GB, free: 9.355 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.0336, allocations: 11.94 kB / 0.6525 GB, free: 9.344 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002628/0.03623, allocations: 4.936 MB / 0.6573 GB, free: 4.062 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.03623, allocations: 4.031 kB / 0.6573 GB, free: 4.059 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.03743, allocations: 1.124 MB / 0.6584 GB, free: 2.887 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.03754, allocations: 87.62 kB / 0.6585 GB, free: 2.801 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/0.03758, allocations: 11.98 kB / 0.6585 GB, free: 2.789 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/0.03773, allocations: 32.09 kB / 0.6585 GB, free: 2.758 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.028e-05/0.03778, allocations: 35.94 kB / 0.6586 GB, free: 2.723 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.0378, allocations: 16 kB / 0.6586 GB, free: 2.707 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002036/0.038, allocations: 318.8 kB / 0.6589 GB, free: 2.398 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.038, allocations: 0 / 0.6589 GB, free: 2.398 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003645/0.03837, allocations: 168 kB / 0.659 GB, free: 2.234 MB / 0.6198 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.001196/0.03956, allocations: 1.684 MB / 0.6607 GB, free: 0.4922 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008658/0.04043, allocations: 0.9665 MB / 0.6616 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.04043, allocations: 0 / 0.6616 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004695/0.0409, allocations: 0.6681 MB / 0.6623 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004941/0.04139, allocations: 189.3 kB / 0.6625 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004768/0.04616, allocations: 5.588 MB / 0.6679 GB, free: 8.734 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.04639, allocations: 346.3 kB / 0.6683 GB, free: 8.371 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001956/0.04659, allocations: 121 kB / 0.6684 GB, free: 8.25 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001843/0.04677, allocations: 208.4 kB / 0.6686 GB, free: 8.047 MB / 0.6355 GB Notification: Performance of SimCode: time 5.41e-07/0.04677, allocations: 0 / 0.6686 GB, free: 8.047 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2667/0.3135, allocations: 15.8 MB / 0.684 GB, free: 95.45 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.469/7.782, allocations: 6.984 kB / 0.684 GB, free: 95.45 MB / 0.6355 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.525116904638708] Failed to read output from testmodel.py, exit status != 0: 7.8718460984528065 7.881110946 7.865238577 Calling exit ...