Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.004778/0.004784, allocations: 96.48 kB / 15.73 MB, free: 6.484 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.001072/0.001072, allocations: 191.6 kB / 16.67 MB, free: 6.391 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.238/1.238, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002009/0.002009, allocations: 286.1 kB / 290.8 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8828/0.8828, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 95.3 kB / 0.681 GB, free: 4 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1488, allocations: 86.97 MB / 0.7659 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.3088/0.4577, allocations: 14.77 MB / 0.7803 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01199/0.4697, allocations: 10.35 MB / 0.7904 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009432/0.4707, allocations: 58.09 kB / 0.7905 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003406/0.4741, allocations: 1.682 MB / 0.7921 GB, free: 1.258 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003959/0.4781, allocations: 1.855 MB / 0.7939 GB, free: 196 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001657/0.4797, allocations: 0.7602 MB / 0.7947 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002915/0.4827, allocations: 2.757 MB / 0.7974 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001512/0.4842, allocations: 1.422 MB / 0.7988 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001794/0.486, allocations: 1.523 MB / 0.8003 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001487/0.4875, allocations: 1.172 MB / 0.8014 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002246/0.4877, allocations: 159.8 kB / 0.8016 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001421/0.4892, allocations: 0.782 MB / 0.8023 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006183/0.4898, allocations: 0.6067 MB / 0.8029 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00111/0.4909, allocations: 0.9564 MB / 0.8038 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003656/0.4946, allocations: 2.778 MB / 0.8066 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.4946, allocations: 1.156 kB / 0.8066 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.392e-06/0.4946, allocations: 0 / 0.8066 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.92e-05/0.4946, allocations: 0.5625 kB / 0.8066 GB, free: 10.8 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004005/0.4986, allocations: 2.231 MB / 0.8087 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.4987, allocations: 9.828 kB / 0.8087 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002598/0.499, allocations: 190 kB / 0.8089 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01133/0.5103, allocations: 2.128 MB / 0.811 GB, free: 9.121 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002608/0.5129, allocations: 1.305 MB / 0.8123 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.373e-05/0.513, allocations: 86.28 kB / 0.8124 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002534/0.5133, allocations: 135.1 kB / 0.8125 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005322/0.5186, allocations: 2.665 MB / 0.8151 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.591e-05/0.5186, allocations: 10.73 kB / 0.8151 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001777/0.5188, allocations: 55.5 kB / 0.8152 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006068/0.5194, allocations: 194.4 kB / 0.8153 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006997/0.5264, allocations: 2.79 MB / 0.8181 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01542/0.5419, allocations: 10.48 MB / 0.8283 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008873/0.5508, allocations: 2.336 MB / 0.8306 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004904/0.5557, allocations: 1.284 MB / 0.8318 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.119e-05/0.5558, allocations: 9.375 kB / 0.8318 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.074e-05/0.5559, allocations: 48.06 kB / 0.8319 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=89): time 3.727e-06/0.5559, allocations: 0 / 0.8319 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of matching and sorting (n=153): time 0.06902/0.6249, allocations: 16.52 MB / 0.848 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.625, allocations: 68.72 kB / 0.8481 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001703/0.6267, allocations: 1.18 MB / 0.8492 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002028/0.6269, allocations: 53.7 kB / 0.8493 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005723/0.6275, allocations: 0.7529 MB / 0.85 GB, free: 13 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005819/0.6281, allocations: 0.5422 MB / 0.8506 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005993/0.6287, allocations: 287.5 kB / 0.8508 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.668e-05/0.6288, allocations: 305.1 kB / 0.8511 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003494/0.6323, allocations: 1.51 MB / 0.8526 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003615/0.6359, allocations: 1.784 MB / 0.8543 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007286/0.6432, allocations: 3.365 MB / 0.8576 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.015e-05/0.6432, allocations: 4 kB / 0.8576 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01307/0.6563, allocations: 5.281 MB / 0.8628 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.6564, allocations: 11.38 kB / 0.8628 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.6564, allocations: 8 kB / 0.8628 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006629/0.663, allocations: 1.886 MB / 0.8646 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001907/0.665, allocations: 414.8 kB / 0.865 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02804/0.693, allocations: 24.14 MB / 0.8886 GB, free: 4.105 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002809/0.6958, allocations: 315.5 kB / 0.8889 GB, free: 3.797 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002964/0.6962, allocations: 71.91 kB / 0.889 GB, free: 3.727 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001137/0.6973, allocations: 461.4 kB / 0.8894 GB, free: 3.266 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005298/0.6978, allocations: 190.9 kB / 0.8896 GB, free: 3.078 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0136/0.7115, allocations: 5.312 MB / 0.8948 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/0.7115, allocations: 16 kB / 0.8948 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.63e-05/0.7115, allocations: 24 kB / 0.8948 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.457e-05/0.7116, allocations: 12.05 kB / 0.8948 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0164/0.728, allocations: 7.419 MB / 0.9021 GB, free: 6.121 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/0.728, allocations: 4 kB / 0.9021 GB, free: 6.117 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001657/0.7297, allocations: 351.4 kB / 0.9024 GB, free: 5.773 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005944/0.7356, allocations: 1.705 MB / 0.9041 GB, free: 4.047 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001987/0.7358, allocations: 39.97 kB / 0.9041 GB, free: 4.008 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02668/0.7625, allocations: 23.34 MB / 0.9269 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/0.7626, allocations: 7.938 kB / 0.9269 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01191/0.7745, allocations: 4.892 MB / 0.9317 GB, free: 6.578 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001167/0.7757, allocations: 0.4997 MB / 0.9322 GB, free: 6.059 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003737/0.776, allocations: 32.42 kB / 0.9322 GB, free: 6.027 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002224/0.7783, allocations: 323.5 kB / 0.9325 GB, free: 5.711 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003995/0.7787, allocations: 145 kB / 0.9327 GB, free: 5.566 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001416/0.7788, allocations: 51.97 kB / 0.9327 GB, free: 5.516 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001031/0.7799, allocations: 0.7938 MB / 0.9335 GB, free: 4.723 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7799, allocations: 3.938 kB / 0.9335 GB, free: 4.719 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001974/0.7819, allocations: 0.6562 MB / 0.9341 GB, free: 4.062 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01199/0.7938, allocations: 5.479 MB / 0.9395 GB, free: 14.49 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01104/0.8049, allocations: 5.171 MB / 0.9445 GB, free: 9.219 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.8049, allocations: 0 / 0.9445 GB, free: 9.219 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.006682/0.8116, allocations: 3.366 MB / 0.9478 GB, free: 5.75 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00245/0.8141, allocations: 0.5559 MB / 0.9484 GB, free: 5.223 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04421/0.8583, allocations: 21.91 MB / 0.9698 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001365/0.8597, allocations: 1.564 MB / 0.9713 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001323/0.861, allocations: 386.4 kB / 0.9717 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008722/0.8619, allocations: 0.6554 MB / 0.9723 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of SimCode: time 7.71e-07/0.8619, allocations: 0 / 0.9723 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1066/0.9685, allocations: 58.78 MB / 1.03 GB, free: 2.133 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.17/19.14, allocations: 26.69 kB / 1.03 GB, free: 2.109 MB / 0.7794 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)