Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 100.3 kB / 16.27 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0019/0.0019, allocations: 190.3 kB / 17.2 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7339/0.7339, allocations: 122.8 MB / 413.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 60.14 kB / 0.4912 GB, free: 7.359 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4272/0.4287, allocations: 77.92 MB / 0.5673 GB, free: 32.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.03901/0.4677, allocations: 41.17 MB / 0.6075 GB, free: 1.496 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02869/0.4965, allocations: 15.09 MB / 0.6222 GB, free: 2.426 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007318/0.5038, allocations: 187.1 kB / 0.6224 GB, free: 2.242 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01257/0.5165, allocations: 4.46 MB / 0.6268 GB, free: 13.79 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009552/0.5261, allocations: 2.794 MB / 0.6295 GB, free: 11 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00855/0.5347, allocations: 3.149 MB / 0.6326 GB, free: 7.852 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01542/0.5501, allocations: 11.41 MB / 0.6437 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02241/0.5726, allocations: 12.63 MB / 0.656 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008627/0.5812, allocations: 4.798 MB / 0.6607 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009611/0.5909, allocations: 5.386 MB / 0.666 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.004021/0.5949, allocations: 0.9492 MB / 0.6669 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007091/0.602, allocations: 2.033 MB / 0.6689 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.006856/0.6089, allocations: 3.692 MB / 0.6725 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.008981/0.6179, allocations: 4.299 MB / 0.6767 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01718/0.6351, allocations: 14.18 MB / 0.6906 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.814e-06/0.6352, allocations: 3.938 kB / 0.6906 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.276e-06/0.6352, allocations: 4 kB / 0.6906 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0005039/0.6357, allocations: 0 / 0.6906 GB, free: 12.2 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02518/0.6609, allocations: 7.589 MB / 0.698 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.006e-05/0.661, allocations: 8.625 kB / 0.698 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003352/0.6643, allocations: 0.8955 MB / 0.6989 GB, free: 3.613 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01154/0.6759, allocations: 1.53 MB / 0.7004 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009847/0.6858, allocations: 4.205 MB / 0.7045 GB, free: 13.79 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004781/0.6863, allocations: 456.5 kB / 0.7049 GB, free: 13.34 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002551/0.6888, allocations: 0.5937 MB / 0.7055 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02578/0.7146, allocations: 10.7 MB / 0.7159 GB, free: 1.672 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003189/0.715, allocations: 23.78 kB / 0.7159 GB, free: 1.648 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001919/0.7169, allocations: 263.9 kB / 0.7162 GB, free: 1.391 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00316/0.7201, allocations: 0.7729 MB / 0.717 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0186/0.7387, allocations: 8.564 MB / 0.7253 GB, free: 8.027 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3372/1.076, allocations: 46.85 MB / 0.7711 GB, free: 127 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00508/1.081, allocations: 4.302 MB / 0.7753 GB, free: 125.1 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004524/1.086, allocations: 3.703 MB / 0.7789 GB, free: 123.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002457/1.086, allocations: 39.66 kB / 0.7789 GB, free: 123.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.283e-05/1.086, allocations: 72.41 kB / 0.779 GB, free: 123.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=353): time 4.679e-06/1.086, allocations: 3.469 kB / 0.779 GB, free: 123.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=578): time 0.4863/1.572, allocations: 122.8 MB / 0.8989 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.358e-05/1.572, allocations: 111.9 kB / 0.899 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003213/1.576, allocations: 2.685 MB / 0.9017 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0008884/1.576, allocations: 121.7 kB / 0.9018 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001073/1.578, allocations: 2.674 MB / 0.9044 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001821/1.579, allocations: 1.957 MB / 0.9063 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001646/1.581, allocations: 0.9248 MB / 0.9072 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.241e-05/1.581, allocations: 301.1 kB / 0.9075 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004576/1.586, allocations: 4.075 MB / 0.9115 GB, free: 140 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006274/1.592, allocations: 5.025 MB / 0.9164 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01434/1.606, allocations: 9.848 MB / 0.926 GB, free: 0.5625 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.96e-05/1.606, allocations: 8 kB / 0.926 GB, free: 0.5547 MB / 0.5919 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03943/1.646, allocations: 17 MB / 0.9426 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.337e-05/1.646, allocations: 12 kB / 0.9426 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.208e-05/1.646, allocations: 28.09 kB / 0.9426 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03146/1.677, allocations: 9.143 MB / 0.9516 GB, free: 6.207 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002463/1.68, allocations: 0.5304 MB / 0.9521 GB, free: 5.676 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4072/2.087, allocations: 77.01 MB / 1.027 GB, free: 213.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005739/2.093, allocations: 279.9 kB / 1.028 GB, free: 213.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001412/2.094, allocations: 191.2 kB / 1.028 GB, free: 213.6 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005617/2.1, allocations: 2.42 MB / 1.03 GB, free: 212.5 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001493/2.101, allocations: 480.6 kB / 1.031 GB, free: 212.5 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03586/2.137, allocations: 16.83 MB / 1.047 GB, free: 205.8 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-05/2.137, allocations: 55.09 kB / 1.047 GB, free: 205.8 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002157/2.138, allocations: 68.81 kB / 1.047 GB, free: 205.8 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001302/2.138, allocations: 29.27 kB / 1.047 GB, free: 205.8 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04981/2.188, allocations: 25.66 MB / 1.072 GB, free: 191.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.928e-05/2.188, allocations: 4 kB / 1.072 GB, free: 191.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001734/2.189, allocations: 319.5 kB / 1.073 GB, free: 191.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02633/2.216, allocations: 8.344 MB / 1.081 GB, free: 183.1 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001219/2.217, allocations: 104 kB / 1.081 GB, free: 183 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08089/2.298, allocations: 73.89 MB / 1.153 GB, free: 107.8 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/2.298, allocations: 11.94 kB / 1.153 GB, free: 107.8 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03974/2.338, allocations: 21.57 MB / 1.174 GB, free: 85.9 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003032/2.341, allocations: 1.366 MB / 1.175 GB, free: 84.51 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008636/2.342, allocations: 109.8 kB / 1.175 GB, free: 84.41 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003275/2.345, allocations: 287.8 kB / 1.176 GB, free: 84.12 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00193/2.347, allocations: 0.526 MB / 1.176 GB, free: 83.59 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003931/2.347, allocations: 144 kB / 1.176 GB, free: 83.45 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002043/2.349, allocations: 1.776 MB / 1.178 GB, free: 81.68 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/2.349, allocations: 0 / 1.178 GB, free: 81.68 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.007259/2.357, allocations: 2.461 MB / 1.18 GB, free: 79.22 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.03688/2.393, allocations: 22.27 MB / 1.202 GB, free: 56.6 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.03227/2.426, allocations: 18.67 MB / 1.22 GB, free: 37.77 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.648e-05/2.426, allocations: 8.312 kB / 1.22 GB, free: 37.76 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.01556/2.441, allocations: 9.352 MB / 1.23 GB, free: 28.26 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006399/2.448, allocations: 1.379 MB / 1.231 GB, free: 26.95 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4119/2.86, allocations: 79.85 MB / 1.309 GB, free: 190.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005136/2.865, allocations: 4.898 MB / 1.314 GB, free: 188.5 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002611/2.868, allocations: 0.7432 MB / 1.314 GB, free: 188.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002285/2.87, allocations: 2.611 MB / 1.317 GB, free: 186.2 MB / 0.67 GB Notification: Performance of SimCode: time 6.61e-07/2.87, allocations: 0 / 1.317 GB, free: 186.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5206/3.39, allocations: 196.8 MB / 1.509 GB, free: 201.3 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.34/16.73, allocations: 7.906 kB / 1.509 GB, free: 201.3 MB / 0.6856 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)