Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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_R_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_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.001158/0.001158, allocations: 101.1 kB / 16.4 MB, free: 6.496 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.001214/0.001214, allocations: 192 kB / 17.34 MB, free: 5.727 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.508/1.508, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7927/0.7927, allocations: 122.9 MB / 414.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 68.05 kB / 0.568 GB, free: 28.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1429, allocations: 77.93 MB / 0.6441 GB, free: 9.535 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04079/0.1837, allocations: 37.93 MB / 0.6811 GB, free: 3.477 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01801/0.2018, allocations: 11 MB / 0.6919 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003212/0.205, allocations: 155.2 kB / 0.692 GB, free: 8.297 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0109/0.216, allocations: 4.366 MB / 0.6963 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006058/0.222, allocations: 2.328 MB / 0.6985 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.006004/0.2281, allocations: 2.169 MB / 0.7007 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01112/0.2392, allocations: 9.311 MB / 0.7098 GB, free: 6.078 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01564/0.2549, allocations: 11.26 MB / 0.7208 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0079/0.2628, allocations: 4.051 MB / 0.7247 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007121/0.27, allocations: 4.51 MB / 0.7291 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.002281/0.2723, allocations: 0.8242 MB / 0.7299 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004191/0.2765, allocations: 1.588 MB / 0.7315 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00502/0.2816, allocations: 3.15 MB / 0.7346 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.006981/0.2886, allocations: 3.649 MB / 0.7381 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.3852/0.6738, allocations: 12.34 MB / 0.7502 GB, free: 35.86 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.818e-06/0.6739, allocations: 1.953 kB / 0.7502 GB, free: 35.86 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.875e-06/0.6739, allocations: 0 / 0.7502 GB, free: 35.86 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0004452/0.6743, allocations: 0 / 0.7502 GB, free: 35.86 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02014/0.6945, allocations: 6.473 MB / 0.7565 GB, free: 33.48 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.6945, allocations: 10.97 kB / 0.7565 GB, free: 33.48 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003306/0.6979, allocations: 0.8266 MB / 0.7573 GB, free: 33.4 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008323/0.7062, allocations: 1.098 MB / 0.7584 GB, free: 33.05 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009896/0.7161, allocations: 3.627 MB / 0.7619 GB, free: 32.3 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005013/0.7167, allocations: 426.4 kB / 0.7623 GB, free: 32.29 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002953/0.7196, allocations: 0.5421 MB / 0.7629 GB, free: 32.29 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02989/0.7495, allocations: 9.38 MB / 0.772 GB, free: 31.22 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002504/0.7498, allocations: 25.64 kB / 0.772 GB, free: 31.21 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002117/0.7519, allocations: 241.9 kB / 0.7723 GB, free: 31.21 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006122/0.7526, allocations: 420.9 kB / 0.7727 GB, free: 31.2 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01628/0.7689, allocations: 7.126 MB / 0.7796 GB, free: 31.15 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04475/0.8136, allocations: 41.06 MB / 0.8197 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004598/0.8183, allocations: 3.102 MB / 0.8228 GB, free: 10 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002912/0.8212, allocations: 2.16 MB / 0.8249 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.958e-05/0.8213, allocations: 25.59 kB / 0.8249 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.199e-05/0.8214, allocations: 60.42 kB / 0.825 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=209): time 5.25e-06/0.8214, allocations: 4 kB / 0.825 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of matching and sorting (n=212): time 0.02446/0.8459, allocations: 10.63 MB / 0.8353 GB, free: 0.5078 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.302e-05/0.846, allocations: 77.34 kB / 0.8354 GB, free: 432 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003083/0.8491, allocations: 1.999 MB / 0.8374 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0004195/0.8496, allocations: 61.7 kB / 0.8374 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001645/0.8512, allocations: 2.473 MB / 0.8398 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009114/0.8521, allocations: 0.7747 MB / 0.8406 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007736/0.8529, allocations: 477.5 kB / 0.8411 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.328e-05/0.853, allocations: 305.1 kB / 0.8413 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001994/0.855, allocations: 1.376 MB / 0.8427 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002487/0.8575, allocations: 2.108 MB / 0.8448 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004687/0.8622, allocations: 3.765 MB / 0.8484 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.454e-05/0.8622, allocations: 4 kB / 0.8484 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008342/0.8706, allocations: 5.081 MB / 0.8534 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.573e-05/0.8707, allocations: 16.97 kB / 0.8534 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.737e-05/0.8707, allocations: 20 kB / 0.8534 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003471/0.8742, allocations: 1.589 MB / 0.855 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001859/0.8761, allocations: 457.2 kB / 0.8554 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02529/0.9014, allocations: 18.6 MB / 0.8736 GB, free: 8.484 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003093/0.9045, allocations: 143.9 kB / 0.8737 GB, free: 8.344 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000509/0.905, allocations: 112 kB / 0.8738 GB, free: 8.234 MB / 0.6387 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003615/0.9087, allocations: 1.941 MB / 0.8757 GB, free: 6.312 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007721/0.9094, allocations: 298.2 kB / 0.876 GB, free: 6.02 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007244/0.9167, allocations: 4.447 MB / 0.8803 GB, free: 1.602 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.916e-05/0.9167, allocations: 20 kB / 0.8804 GB, free: 1.582 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-05/0.9168, allocations: 16 kB / 0.8804 GB, free: 1.566 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.361e-05/0.9168, allocations: 11.95 kB / 0.8804 GB, free: 1.555 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0166/0.9334, allocations: 9.675 MB / 0.8898 GB, free: 7.867 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.526e-05/0.9335, allocations: 4.094 kB / 0.8898 GB, free: 7.863 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/0.9346, allocations: 230.4 kB / 0.8901 GB, free: 7.648 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003392/0.938, allocations: 1.425 MB / 0.8915 GB, free: 6.215 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002315/0.9383, allocations: 44 kB / 0.8915 GB, free: 6.172 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02309/0.9614, allocations: 18.59 MB / 0.9097 GB, free: 3.066 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.004e-06/0.9614, allocations: 11.38 kB / 0.9097 GB, free: 3.059 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008827/0.9702, allocations: 4.561 MB / 0.9141 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002053/0.9723, allocations: 0.6475 MB / 0.9147 GB, free: 13.81 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001013/0.9734, allocations: 44.25 kB / 0.9148 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002068/0.9754, allocations: 111.9 kB / 0.9149 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006912/0.9762, allocations: 189.2 kB / 0.9151 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002584/0.9764, allocations: 59.38 kB / 0.9151 GB, free: 13.42 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002613/0.9791, allocations: 1.319 MB / 0.9164 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of sort global known variables: time 5.81e-07/0.9791, allocations: 0 / 0.9164 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00505/0.9841, allocations: 1.141 MB / 0.9175 GB, free: 10.95 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008204/0.9923, allocations: 5.169 MB / 0.9226 GB, free: 5.762 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.007806/1, allocations: 4.72 MB / 0.9272 GB, free: 1.109 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-05/1, allocations: 0 / 0.9272 GB, free: 1.109 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.00501/1.005, allocations: 2.938 MB / 0.9301 GB, free: 14.16 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005036/1.01, allocations: 0.8895 MB / 0.9309 GB, free: 13.3 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05039/1.061, allocations: 30.55 MB / 0.9608 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004591/1.065, allocations: 3.697 MB / 0.9644 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002085/1.067, allocations: 0.5557 MB / 0.9649 GB, free: 9.535 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00288/1.07, allocations: 1.948 MB / 0.9668 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of SimCode: time 5.51e-07/1.07, allocations: 0 / 0.9668 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1717/1.242, allocations: 85.23 MB / 1.05 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.41/16.65, allocations: 0 / 1.05 GB, free: 3.539 MB / 0.8106 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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_R_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)