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.001685/0.001685, allocations: 108 kB / 15.6 MB, free: 132 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.001883/0.001883, allocations: 195.9 kB / 16.53 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.469/1.469, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002747/0.002747, allocations: 283 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.114/1.114, allocations: 178.5 MB / 0.5073 GB, free: 4.543 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00278/0.00278, allocations: 95.03 kB / 0.6066 GB, free: 24.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1588, allocations: 89.13 MB / 0.6936 GB, free: 4.188 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.007823/0.1667, allocations: 5.193 MB / 0.6987 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002831/0.1696, allocations: 1.688 MB / 0.7003 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001566/0.1697, allocations: 16 kB / 0.7003 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001413/0.1712, allocations: 0.5234 MB / 0.7009 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005191/0.1717, allocations: 250.9 kB / 0.7011 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005116/0.1722, allocations: 244 kB / 0.7013 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001645/0.1739, allocations: 1.665 MB / 0.7029 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002904/0.1768, allocations: 2.549 MB / 0.7054 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009531/0.1778, allocations: 0.7794 MB / 0.7062 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001123/0.1789, allocations: 0.9273 MB / 0.7071 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002501/0.1791, allocations: 188 kB / 0.7073 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005801/0.1797, allocations: 319.7 kB / 0.7076 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007136/0.1805, allocations: 0.7331 MB / 0.7083 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007545/0.1812, allocations: 0.7084 MB / 0.709 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002354/0.1836, allocations: 2.641 MB / 0.7116 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1836, allocations: 0 / 0.7116 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.462e-06/0.1836, allocations: 0 / 0.7116 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.133e-05/0.1837, allocations: 3.938 kB / 0.7116 GB, free: 1.719 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.002598/0.1863, allocations: 1.375 MB / 0.7129 GB, free: 300 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.1863, allocations: 19.97 kB / 0.7129 GB, free: 280 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002715/0.1866, allocations: 202.3 kB / 0.7131 GB, free: 68 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001573/0.1882, allocations: 303.5 kB / 0.7134 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.1893, allocations: 0.7104 MB / 0.7141 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.749e-05/0.1894, allocations: 94.81 kB / 0.7142 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001886/0.1896, allocations: 120.4 kB / 0.7143 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003434/0.193, allocations: 2.133 MB / 0.7164 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.508e-05/0.1931, allocations: 4 kB / 0.7164 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001402/0.1932, allocations: 55.98 kB / 0.7165 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.48e-05/0.1933, allocations: 58.06 kB / 0.7165 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002976/0.1963, allocations: 1.874 MB / 0.7183 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009448/0.2058, allocations: 7.729 MB / 0.7259 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.206, allocations: 126.4 kB / 0.726 GB, free: 2.129 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.2061, allocations: 83.44 kB / 0.7261 GB, free: 2.035 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001273/0.2062, allocations: 93.08 kB / 0.7262 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.2063, allocations: 38.56 kB / 0.7262 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 3.577e-06/0.2063, allocations: 0 / 0.7262 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0005636/0.2068, allocations: 272.7 kB / 0.7265 GB, free: 1.605 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.721e-05/0.2069, allocations: 136.5 kB / 0.7266 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/0.2081, allocations: 0.9082 MB / 0.7275 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.2081, allocations: 30.08 kB / 0.7275 GB, free: 496 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005424/0.2087, allocations: 0.7586 MB / 0.7283 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.172e-05/0.2087, allocations: 59.5 kB / 0.7283 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003443/0.2091, allocations: 270.5 kB / 0.7286 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001884/0.2093, allocations: 366.8 kB / 0.7289 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005882/0.2099, allocations: 430.5 kB / 0.7293 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/0.211, allocations: 1.161 MB / 0.7305 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001772/0.2128, allocations: 1.604 MB / 0.732 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.417e-05/0.2128, allocations: 8 kB / 0.7321 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002289/0.2151, allocations: 1.546 MB / 0.7336 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.09e-05/0.2152, allocations: 16 kB / 0.7336 GB, free: 9.516 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.181e-05/0.2152, allocations: 28 kB / 0.7336 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.602e-05/0.2153, allocations: 36 kB / 0.7336 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008652/0.2161, allocations: 275.5 kB / 0.7339 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.815e-05/0.2162, allocations: 55.78 kB / 0.734 GB, free: 9.129 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007915/0.217, allocations: 194.8 kB / 0.7341 GB, free: 8.938 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.541e-05/0.2171, allocations: 68 kB / 0.7342 GB, free: 8.871 MB / 0.5294 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.0007848/0.2179, allocations: 0.6464 MB / 0.7348 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/0.218, allocations: 55.34 kB / 0.7349 GB, free: 8.16 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002883/0.2183, allocations: 133.7 kB / 0.735 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.2183, allocations: 3.938 kB / 0.735 GB, free: 8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.2183, allocations: 4 kB / 0.735 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.2184, allocations: 3.984 kB / 0.735 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.2195, allocations: 0.7666 MB / 0.7358 GB, free: 7.176 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.2195, allocations: 4 kB / 0.7358 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.144e-05/0.2196, allocations: 4 kB / 0.7358 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.2196, allocations: 0 / 0.7358 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.2196, allocations: 0 / 0.7358 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.2196, allocations: 7.984 kB / 0.7358 GB, free: 7.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.2196, allocations: 4 kB / 0.7358 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003187/0.2199, allocations: 369.3 kB / 0.7361 GB, free: 6.777 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/0.2201, allocations: 132.4 kB / 0.7363 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.216e-05/0.2202, allocations: 11.88 kB / 0.7363 GB, free: 6.617 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002688/0.2204, allocations: 19.97 kB / 0.7363 GB, free: 6.598 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.301e-05/0.2205, allocations: 4 kB / 0.7363 GB, free: 6.594 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-06/0.2205, allocations: 0 / 0.7363 GB, free: 6.594 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008214/0.2213, allocations: 0.6395 MB / 0.7369 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2213, allocations: 0 / 0.7369 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001111/0.2224, allocations: 279 kB / 0.7372 GB, free: 5.684 MB / 0.5294 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.0006479/0.2231, allocations: 0.9095 MB / 0.7381 GB, free: 4.746 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001106/0.2242, allocations: 0.7112 MB / 0.7388 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2242, allocations: 1.812 kB / 0.7388 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.272e-05/0.2243, allocations: 23.92 kB / 0.7388 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005222/0.2248, allocations: 42.98 kB / 0.7388 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/0.2355, allocations: 8.181 MB / 0.7468 GB, free: 10.97 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001099/0.2367, allocations: 1.28 MB / 0.7481 GB, free: 9.664 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008227/0.2375, allocations: 361.2 kB / 0.7484 GB, free: 9.309 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003635/0.2379, allocations: 291.3 kB / 0.7487 GB, free: 9.023 MB / 0.545 GB Notification: Performance of SimCode: time 8.42e-07/0.2379, allocations: 0 / 0.7487 GB, free: 9.023 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03777/0.2757, allocations: 13.42 MB / 0.7618 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.652/7.927, allocations: 17.81 kB / 0.7618 GB, free: 11.76 MB / 0.5606 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)