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.001251/0.001251, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001238/0.001238, allocations: 190.3 kB / 16.14 MB, free: 6.66 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.221/1.221, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001986/0.001986, allocations: 285.1 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8893/0.8893, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 89.97 kB / 0.5946 GB, free: 28.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1337, allocations: 86.98 MB / 0.6796 GB, free: 1.066 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.00625/0.14, allocations: 5.217 MB / 0.6846 GB, free: 11.84 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002209/0.1422, allocations: 1.688 MB / 0.6863 GB, free: 10.15 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.1424, allocations: 8 kB / 0.6863 GB, free: 10.14 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001134/0.1435, allocations: 0.4914 MB / 0.6868 GB, free: 9.652 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000357/0.1439, allocations: 229.2 kB / 0.687 GB, free: 9.43 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00036/0.1442, allocations: 203.7 kB / 0.6872 GB, free: 9.23 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001922/0.1462, allocations: 2.617 MB / 0.6898 GB, free: 6.609 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003305/0.1495, allocations: 2.885 MB / 0.6926 GB, free: 3.695 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006704/0.1502, allocations: 0.6466 MB / 0.6932 GB, free: 3.047 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000923/0.1511, allocations: 0.9585 MB / 0.6941 GB, free: 2.086 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001808/0.1513, allocations: 136 kB / 0.6943 GB, free: 1.953 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004817/0.1518, allocations: 295.7 kB / 0.6945 GB, free: 1.664 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005464/0.1523, allocations: 0.6862 MB / 0.6952 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005858/0.1529, allocations: 0.6536 MB / 0.6959 GB, free: 328 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001827/0.1548, allocations: 2.61 MB / 0.6984 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1548, allocations: 0 / 0.6984 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.11e-07/0.1548, allocations: 0 / 0.6984 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.599e-05/0.1548, allocations: 0 / 0.6984 GB, free: 13.7 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.001991/0.1568, allocations: 1.381 MB / 0.6998 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.1568, allocations: 8.031 kB / 0.6998 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002343/0.1571, allocations: 206.3 kB / 0.7 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00138/0.1585, allocations: 299.3 kB / 0.7002 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009646/0.1594, allocations: 0.7154 MB / 0.7009 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.576e-05/0.1595, allocations: 98.88 kB / 0.701 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001688/0.1597, allocations: 120.4 kB / 0.7012 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002884/0.1626, allocations: 2.137 MB / 0.7032 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.1626, allocations: 3.938 kB / 0.7032 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001218/0.1627, allocations: 48 kB / 0.7033 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.706e-05/0.1628, allocations: 54.06 kB / 0.7033 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002519/0.1653, allocations: 1.87 MB / 0.7052 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007563/0.1729, allocations: 7.752 MB / 0.7127 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.1731, allocations: 122.4 kB / 0.7129 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.547e-05/0.1732, allocations: 79.52 kB / 0.7129 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 9.547e-05/0.1733, allocations: 93.09 kB / 0.713 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.1733, allocations: 38.5 kB / 0.7131 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.1733, allocations: 0 / 0.7131 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0004598/0.1738, allocations: 273.1 kB / 0.7133 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.889e-05/0.1738, allocations: 132.5 kB / 0.7134 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009577/0.1748, allocations: 0.9121 MB / 0.7143 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.1748, allocations: 25.7 kB / 0.7144 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004307/0.1753, allocations: 0.7664 MB / 0.7151 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.91e-05/0.1753, allocations: 51.53 kB / 0.7152 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002979/0.1756, allocations: 266.5 kB / 0.7154 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.1758, allocations: 374.8 kB / 0.7158 GB, free: 11 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005112/0.1763, allocations: 430.3 kB / 0.7162 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009749/0.1773, allocations: 1.161 MB / 0.7173 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001494/0.1788, allocations: 1.602 MB / 0.7189 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/0.1788, allocations: 8 kB / 0.7189 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.00198/0.1808, allocations: 1.538 MB / 0.7204 GB, free: 5.531 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.1808, allocations: 24.19 kB / 0.7204 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.134e-05/0.1808, allocations: 24 kB / 0.7204 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.374e-05/0.1809, allocations: 36 kB / 0.7205 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007459/0.1816, allocations: 283.7 kB / 0.7207 GB, free: 5.172 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.461e-05/0.1817, allocations: 55.78 kB / 0.7208 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006838/0.1824, allocations: 190.3 kB / 0.721 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.479e-05/0.1825, allocations: 72 kB / 0.721 GB, free: 4.859 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.0006357/0.1831, allocations: 0.6458 MB / 0.7217 GB, free: 4.203 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.1832, allocations: 55.34 kB / 0.7217 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002231/0.1835, allocations: 129.7 kB / 0.7218 GB, free: 4 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.1835, allocations: 3.938 kB / 0.7219 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1835, allocations: 3.938 kB / 0.7219 GB, free: 3.992 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.1835, allocations: 8 kB / 0.7219 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009262/0.1844, allocations: 0.7744 MB / 0.7226 GB, free: 3.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1844, allocations: 0 / 0.7226 GB, free: 3.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.982e-05/0.1845, allocations: 4 kB / 0.7226 GB, free: 3.156 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.1845, allocations: 4 kB / 0.7226 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.1845, allocations: 0 / 0.7226 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1845, allocations: 0 / 0.7226 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1845, allocations: 0 / 0.7226 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.1847, allocations: 381.3 kB / 0.723 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.1849, allocations: 128.5 kB / 0.7231 GB, free: 2.617 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.896e-05/0.1849, allocations: 11.84 kB / 0.7231 GB, free: 2.605 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002521/0.1852, allocations: 15.97 kB / 0.7231 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.662e-05/0.1852, allocations: 0 / 0.7231 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.1852, allocations: 4 kB / 0.7231 GB, free: 2.586 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000676/0.1859, allocations: 0.6395 MB / 0.7238 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1859, allocations: 4 kB / 0.7238 GB, free: 1.938 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009352/0.1869, allocations: 279 kB / 0.724 GB, free: 1.664 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.0004837/0.1873, allocations: 0.9017 MB / 0.7249 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008548/0.1882, allocations: 0.7206 MB / 0.7256 GB, free: 20 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1882, allocations: 4.062 kB / 0.7256 GB, free: 16 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.225e-05/0.1882, allocations: 15.98 kB / 0.7256 GB, free: 0 / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000515/0.1888, allocations: 39.05 kB / 0.7257 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00903/0.1978, allocations: 8.566 MB / 0.734 GB, free: 6.57 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009859/0.1988, allocations: 1.284 MB / 0.7353 GB, free: 5.258 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0007708/0.1996, allocations: 365.2 kB / 0.7356 GB, free: 4.898 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003472/0.2, allocations: 283.3 kB / 0.7359 GB, free: 4.621 MB / 0.5294 GB Notification: Performance of SimCode: time 6.81e-07/0.2, allocations: 0 / 0.7359 GB, free: 4.621 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02426/0.2242, allocations: 13.15 MB / 0.7488 GB, free: 7.66 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001783/0.2245, allocations: 261.2 kB / 0.749 GB, free: 7.387 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.744/1.968, allocations: 1.719 kB / 0.749 GB, free: 7.387 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe 2>&1)