Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.000768/0.000768, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0008302/0.0008302, allocations: 207.6 kB / 22.25 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.9718/0.9718, 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 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.7726/0.7726, allocations: 203.5 MB / 0.5038 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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_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.001131/0.001131, allocations: 66.36 kB / 0.7178 GB, free: 4.414 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5187/0.5198, allocations: 102 MB / 0.8174 GB, free: 1.227 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02123/0.541, allocations: 21.54 MB / 0.8384 GB, free: 3.73 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01069/0.5517, allocations: 6.183 MB / 0.8445 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002754/0.5545, allocations: 122.9 kB / 0.8446 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003165/0.5576, allocations: 1.571 MB / 0.8461 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.004702/0.5623, allocations: 1.72 MB / 0.8478 GB, free: 13 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003353/0.5657, allocations: 1.343 MB / 0.8491 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.006509/0.5722, allocations: 5.942 MB / 0.8549 GB, free: 8.551 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004383/0.5766, allocations: 3.189 MB / 0.858 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004688/0.5813, allocations: 2.502 MB / 0.8605 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005025/0.5863, allocations: 2.925 MB / 0.8633 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001497/0.5878, allocations: 456.9 kB / 0.8638 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003548/0.5913, allocations: 1.032 MB / 0.8648 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.00343/0.5948, allocations: 2.083 MB / 0.8668 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.003813/0.5986, allocations: 1.753 MB / 0.8685 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.008428/0.607, allocations: 7.357 MB / 0.8757 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.607, allocations: 0 / 0.8757 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.224e-06/0.607, allocations: 0 / 0.8757 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001968/0.6072, allocations: 4 kB / 0.8757 GB, free: 10.18 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.006968/0.6142, allocations: 3.841 MB / 0.8795 GB, free: 6.289 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.6142, allocations: 12.03 kB / 0.8795 GB, free: 6.277 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005715/0.6148, allocations: 0.4937 MB / 0.8799 GB, free: 5.773 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003708/0.6185, allocations: 1.227 MB / 0.8811 GB, free: 4.543 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003228/0.6217, allocations: 2.308 MB / 0.8834 GB, free: 2.188 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001239/0.6219, allocations: 242.4 kB / 0.8836 GB, free: 1.949 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003534/0.6222, allocations: 316 kB / 0.8839 GB, free: 1.641 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008014/0.6302, allocations: 6.434 MB / 0.8902 GB, free: 10.89 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.596e-05/0.6303, allocations: 19.83 kB / 0.8902 GB, free: 10.88 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003225/0.6306, allocations: 139.9 kB / 0.8904 GB, free: 10.74 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000332/0.631, allocations: 406.3 kB / 0.8908 GB, free: 10.34 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006014/0.637, allocations: 4.658 MB / 0.8953 GB, free: 5.672 MB / 0.6667 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01855/0.6555, allocations: 18.66 MB / 0.9135 GB, free: 2.492 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001374/0.6569, allocations: 1.364 MB / 0.9149 GB, free: 1.113 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001248/0.6582, allocations: 1.44 MB / 0.9163 GB, free: 15.67 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.186e-05/0.6582, allocations: 13 kB / 0.9163 GB, free: 15.66 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.6583, allocations: 55.42 kB / 0.9163 GB, free: 15.59 MB / 0.698 GB Notification: Performance of pre-optimization done (n=110): time 4.558e-06/0.6583, allocations: 0 / 0.9163 GB, free: 15.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=179): time 0.07456/0.7328, allocations: 37.07 MB / 0.9525 GB, free: 10.47 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.7329, allocations: 73.34 kB / 0.9526 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001641/0.7345, allocations: 1.454 MB / 0.954 GB, free: 8.918 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002427/0.7347, allocations: 57.7 kB / 0.9541 GB, free: 8.855 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007675/0.7355, allocations: 1.575 MB / 0.9556 GB, free: 7.27 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006712/0.7362, allocations: 0.6429 MB / 0.9562 GB, free: 6.621 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004816/0.7367, allocations: 387.4 kB / 0.9566 GB, free: 6.234 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.105e-05/0.7367, allocations: 301.1 kB / 0.9569 GB, free: 5.938 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001796/0.7385, allocations: 1.788 MB / 0.9586 GB, free: 4.145 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002032/0.7406, allocations: 2.35 MB / 0.9609 GB, free: 1.543 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004077/0.7446, allocations: 4.391 MB / 0.9652 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.257e-05/0.7447, allocations: 4 kB / 0.9652 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01149/0.7561, allocations: 8.431 MB / 0.9735 GB, free: 4.441 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.577e-05/0.7562, allocations: 12 kB / 0.9735 GB, free: 4.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.906e-05/0.7562, allocations: 16 kB / 0.9735 GB, free: 4.414 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009068/0.7653, allocations: 4.612 MB / 0.978 GB, free: 15.78 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008234/0.7661, allocations: 311.4 kB / 0.9783 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03138/0.7975, allocations: 31.59 MB / 1.009 GB, free: 15.19 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/0.7992, allocations: 151.8 kB / 1.009 GB, free: 15.04 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002007/0.7994, allocations: 84 kB / 1.009 GB, free: 14.96 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00224/0.8016, allocations: 1.328 MB / 1.011 GB, free: 13.62 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003324/0.802, allocations: 206.7 kB / 1.011 GB, free: 13.42 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01097/0.8129, allocations: 8.293 MB / 1.019 GB, free: 5.078 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/0.8129, allocations: 16 kB / 1.019 GB, free: 5.062 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-05/0.813, allocations: 27.94 kB / 1.019 GB, free: 5.035 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.179e-05/0.813, allocations: 7.969 kB / 1.019 GB, free: 5.027 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01616/0.8292, allocations: 12.22 MB / 1.031 GB, free: 8.641 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.274e-05/0.8292, allocations: 4 kB / 1.031 GB, free: 8.637 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004248/0.8296, allocations: 167.7 kB / 1.031 GB, free: 8.473 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008962/0.8386, allocations: 4.462 MB / 1.035 GB, free: 3.988 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002546/0.8389, allocations: 36 kB / 1.035 GB, free: 3.953 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03076/0.8696, allocations: 31.21 MB / 1.066 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-06/0.8696, allocations: 11.94 kB / 1.066 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01089/0.8805, allocations: 8.105 MB / 1.074 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001158/0.8817, allocations: 0.5453 MB / 1.074 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002254/0.8819, allocations: 40 kB / 1.074 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007983/0.8827, allocations: 135.8 kB / 1.075 GB, free: 11.08 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005973/0.8833, allocations: 180.8 kB / 1.075 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.103e-05/0.8834, allocations: 48 kB / 1.075 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001631/0.885, allocations: 0.9626 MB / 1.076 GB, free: 9.902 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.71e-07/0.885, allocations: 7.938 kB / 1.076 GB, free: 9.895 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003607/0.8886, allocations: 1.117 MB / 1.077 GB, free: 8.777 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 simulation (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01111/0.8997, allocations: 8.693 MB / 1.085 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.008707/0.9084, allocations: 6.311 MB / 1.092 GB, free: 9.551 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.138e-06/0.9084, allocations: 0 / 1.092 GB, free: 9.551 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.005377/0.9138, allocations: 4.176 MB / 1.096 GB, free: 5.293 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002142/0.916, allocations: 0.5379 MB / 1.096 GB, free: 4.781 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04655/0.9625, allocations: 33.53 MB / 1.129 GB, free: 2.34 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003267/0.9658, allocations: 2.17 MB / 1.131 GB, free: 132 kB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0008778/0.9667, allocations: 384.6 kB / 1.131 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001028/0.9677, allocations: 1.214 MB / 1.133 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of SimCode: time 1.683e-06/0.9677, allocations: 3.938 kB / 1.133 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4901/1.458, allocations: 89.88 MB / 1.22 GB, free: 247.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.348/9.806, allocations: 13.17 kB / 1.22 GB, free: 247.9 MB / 0.9167 GB " [Timeout remaining time 650] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.869918717071414] Failed to read output from testmodel.py, exit status != 0: 9.91377104492858 9.919979051 9.311223287 Calling exit ...