Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.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.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta",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.001141/0.001141, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 195.6 kB / 16.53 MB, free: 6.699 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.349/1.349, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002457/0.002457, allocations: 286.4 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9672/0.9672, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 96.28 kB / 0.5954 GB, free: 27.83 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1556, allocations: 86.97 MB / 0.6803 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.006578/0.1622, allocations: 5.188 MB / 0.6854 GB, free: 11.39 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00254/0.1648, allocations: 1.687 MB / 0.687 GB, free: 9.699 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001605/0.165, allocations: 20 kB / 0.687 GB, free: 9.68 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001306/0.1663, allocations: 0.5238 MB / 0.6875 GB, free: 9.156 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004866/0.1668, allocations: 247 kB / 0.6878 GB, free: 8.914 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005139/0.1673, allocations: 235.5 kB / 0.688 GB, free: 8.684 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001317/0.1686, allocations: 1.673 MB / 0.6896 GB, free: 7.008 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002448/0.1711, allocations: 2.547 MB / 0.6921 GB, free: 4.43 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009047/0.172, allocations: 0.7716 MB / 0.6929 GB, free: 3.656 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009872/0.173, allocations: 0.9312 MB / 0.6938 GB, free: 2.723 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002232/0.1732, allocations: 196 kB / 0.694 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005369/0.1738, allocations: 315.7 kB / 0.6943 GB, free: 2.223 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006361/0.1744, allocations: 0.7331 MB / 0.695 GB, free: 1.488 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006608/0.1751, allocations: 0.7084 MB / 0.6957 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001942/0.177, allocations: 2.649 MB / 0.6983 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1771, allocations: 0 / 0.6983 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1771, allocations: 0 / 0.6983 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.732e-05/0.1771, allocations: 0 / 0.6983 GB, free: 14.12 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.002173/0.1793, allocations: 1.371 MB / 0.6996 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.1793, allocations: 12.03 kB / 0.6996 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002298/0.1796, allocations: 202.3 kB / 0.6998 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001438/0.181, allocations: 303.3 kB / 0.7001 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009904/0.182, allocations: 0.7272 MB / 0.7008 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.256e-05/0.1821, allocations: 90.88 kB / 0.7009 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001755/0.1823, allocations: 116.4 kB / 0.701 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002869/0.1851, allocations: 2.133 MB / 0.7031 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/0.1852, allocations: 3.984 kB / 0.7031 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001292/0.1853, allocations: 48 kB / 0.7031 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.42e-05/0.1854, allocations: 58.06 kB / 0.7032 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002573/0.188, allocations: 1.875 MB / 0.705 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007617/0.1956, allocations: 7.744 MB / 0.7126 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/0.1958, allocations: 130.4 kB / 0.7127 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.524e-05/0.1958, allocations: 83.44 kB / 0.7128 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000104/0.196, allocations: 85.09 kB / 0.7129 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.196, allocations: 46.48 kB / 0.7129 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 2.875e-06/0.196, allocations: 4 kB / 0.7129 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0004737/0.1965, allocations: 264.8 kB / 0.7132 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.632e-05/0.1966, allocations: 136.5 kB / 0.7133 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009303/0.1975, allocations: 0.9044 MB / 0.7142 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.1975, allocations: 25.7 kB / 0.7142 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003832/0.1979, allocations: 0.7586 MB / 0.7149 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.105e-05/0.198, allocations: 59.52 kB / 0.715 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002911/0.1983, allocations: 278.8 kB / 0.7153 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.1984, allocations: 370.8 kB / 0.7156 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005139/0.1989, allocations: 430.2 kB / 0.716 GB, free: 11 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009178/0.1998, allocations: 1.165 MB / 0.7172 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/0.2013, allocations: 1.591 MB / 0.7187 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.768e-06/0.2013, allocations: 11.94 kB / 0.7187 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.00201/0.2033, allocations: 1.542 MB / 0.7202 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.998e-05/0.2033, allocations: 19.98 kB / 0.7203 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.478e-05/0.2034, allocations: 28 kB / 0.7203 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.945e-05/0.2034, allocations: 36 kB / 0.7203 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007332/0.2041, allocations: 275.5 kB / 0.7206 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.796e-05/0.2042, allocations: 55.78 kB / 0.7206 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007439/0.2049, allocations: 190.5 kB / 0.7208 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.241e-05/0.205, allocations: 72 kB / 0.7209 GB, free: 5.281 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 121 * 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 (147): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006144/0.2056, allocations: 0.6458 MB / 0.7215 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.2058, allocations: 59.33 kB / 0.7216 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002314/0.206, allocations: 129.7 kB / 0.7217 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.206, allocations: 4 kB / 0.7217 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.206, allocations: 4 kB / 0.7217 GB, free: 4.41 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.206, allocations: 0 / 0.7217 GB, free: 4.41 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009129/0.207, allocations: 0.7744 MB / 0.7225 GB, free: 3.586 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.207, allocations: 4.25 kB / 0.7225 GB, free: 3.582 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.213e-05/0.207, allocations: 4 kB / 0.7225 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.207, allocations: 4 kB / 0.7225 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.207, allocations: 0 / 0.7225 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.207, allocations: 4 kB / 0.7225 GB, free: 3.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.207, allocations: 3.938 kB / 0.7225 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002153/0.2073, allocations: 373.3 kB / 0.7228 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.2074, allocations: 124.5 kB / 0.723 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.991e-05/0.2075, allocations: 11.84 kB / 0.723 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002584/0.2077, allocations: 15.91 kB / 0.723 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.443e-05/0.2077, allocations: 4 kB / 0.723 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.2078, allocations: 8 kB / 0.723 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006687/0.2084, allocations: 0.6395 MB / 0.7236 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2084, allocations: 4 kB / 0.7236 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009243/0.2094, allocations: 275 kB / 0.7239 GB, free: 2.09 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004496/0.2098, allocations: 0.9115 MB / 0.7248 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008435/0.2107, allocations: 0.7121 MB / 0.7255 GB, free: 456 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.2107, allocations: 4 kB / 0.7255 GB, free: 452 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.538e-05/0.2107, allocations: 19.92 kB / 0.7255 GB, free: 432 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005103/0.2112, allocations: 35.75 kB / 0.7255 GB, free: 396 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008229/0.2195, allocations: 8.178 MB / 0.7335 GB, free: 7.371 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000844/0.2203, allocations: 1.28 MB / 0.7348 GB, free: 6.062 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0007386/0.2211, allocations: 365.2 kB / 0.7351 GB, free: 5.707 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003063/0.2214, allocations: 287.3 kB / 0.7354 GB, free: 5.426 MB / 0.5294 GB Notification: Performance of SimCode: time 7.41e-07/0.2214, allocations: 0 / 0.7354 GB, free: 5.426 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0332/0.2546, allocations: 13.42 MB / 0.7485 GB, free: 8.176 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.013/7.268, allocations: 10.41 kB / 0.7485 GB, free: 8.168 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta_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_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe 2>&1)