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.001111/0.001111, 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.001186/0.001186, allocations: 194.7 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.385/1.385, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002093/0.002093, allocations: 274.9 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9483/0.9483, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 100 kB / 0.5954 GB, free: 27.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1527, allocations: 86.98 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.006978/0.1597, allocations: 5.184 MB / 0.6854 GB, free: 11.39 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002628/0.1624, allocations: 1.679 MB / 0.687 GB, free: 9.711 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002646/0.1626, allocations: 19.94 kB / 0.687 GB, free: 9.691 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001398/0.1641, allocations: 0.525 MB / 0.6875 GB, free: 9.164 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005533/0.1646, allocations: 247 kB / 0.6878 GB, free: 8.922 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005458/0.1652, allocations: 235.5 kB / 0.688 GB, free: 8.691 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001533/0.1667, allocations: 1.673 MB / 0.6896 GB, free: 7.016 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002618/0.1693, allocations: 2.547 MB / 0.6921 GB, free: 4.438 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009205/0.1703, allocations: 0.7833 MB / 0.6929 GB, free: 3.652 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001238/0.1715, allocations: 0.9234 MB / 0.6938 GB, free: 2.727 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003553/0.1719, allocations: 188 kB / 0.694 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006974/0.1726, allocations: 319.7 kB / 0.6943 GB, free: 2.23 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000744/0.1734, allocations: 0.7331 MB / 0.695 GB, free: 1.496 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001034/0.1744, allocations: 0.7084 MB / 0.6957 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001949/0.1764, allocations: 2.649 MB / 0.6983 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1764, allocations: 0 / 0.6983 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1764, allocations: 0 / 0.6983 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.521e-05/0.1764, allocations: 0 / 0.6983 GB, free: 14.13 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.002151/0.1786, allocations: 1.367 MB / 0.6996 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.1786, allocations: 15.97 kB / 0.6996 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002292/0.1788, allocations: 206.3 kB / 0.6998 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00142/0.1803, allocations: 303.3 kB / 0.7001 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009856/0.1813, allocations: 0.7233 MB / 0.7008 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.215e-05/0.1813, allocations: 90.88 kB / 0.7009 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001762/0.1815, allocations: 116.4 kB / 0.701 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002854/0.1844, allocations: 2.133 MB / 0.7031 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.577e-05/0.1844, allocations: 7.984 kB / 0.7031 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001312/0.1846, allocations: 51.94 kB / 0.7031 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.729e-05/0.1846, allocations: 58.06 kB / 0.7032 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002561/0.1872, allocations: 1.868 MB / 0.705 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007943/0.1952, allocations: 7.748 MB / 0.7126 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.1953, allocations: 130.3 kB / 0.7127 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.794e-05/0.1954, allocations: 79.5 kB / 0.7128 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001101/0.1956, allocations: 81.11 kB / 0.7129 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.1956, allocations: 50.55 kB / 0.7129 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 3.506e-06/0.1956, allocations: 0 / 0.7129 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0005041/0.1961, allocations: 268.7 kB / 0.7132 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.446e-05/0.1962, allocations: 136.5 kB / 0.7133 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000966/0.1972, allocations: 0.9044 MB / 0.7142 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.1972, allocations: 29.69 kB / 0.7142 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003972/0.1976, allocations: 0.7667 MB / 0.715 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.75e-05/0.1977, allocations: 55.52 kB / 0.715 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003/0.198, allocations: 278.3 kB / 0.7153 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1981, allocations: 370.8 kB / 0.7156 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005249/0.1986, allocations: 426.3 kB / 0.716 GB, free: 11 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/0.1997, allocations: 1.165 MB / 0.7172 GB, free: 9.465 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001389/0.2011, allocations: 1.598 MB / 0.7187 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/0.2011, allocations: 8 kB / 0.7187 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.001972/0.203, allocations: 1.538 MB / 0.7202 GB, free: 5.949 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.121e-05/0.2031, allocations: 21.86 kB / 0.7203 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.502e-05/0.2031, allocations: 28 kB / 0.7203 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.828e-05/0.2032, allocations: 36 kB / 0.7203 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007412/0.2039, allocations: 279.5 kB / 0.7206 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.129e-05/0.204, allocations: 55.78 kB / 0.7206 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007138/0.2047, allocations: 190.8 kB / 0.7208 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.589e-05/0.2048, allocations: 68 kB / 0.7209 GB, free: 5.285 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.0006086/0.2054, allocations: 0.6458 MB / 0.7215 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.2055, allocations: 59.34 kB / 0.7216 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002594/0.2058, allocations: 129.7 kB / 0.7217 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.2058, allocations: 0 / 0.7217 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.2058, allocations: 4 kB / 0.7217 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.2058, allocations: 0 / 0.7217 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009135/0.2067, allocations: 0.7744 MB / 0.7225 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.2067, allocations: 4 kB / 0.7225 GB, free: 3.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.11e-05/0.2068, allocations: 4 kB / 0.7225 GB, free: 3.586 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.2068, allocations: 256 / 0.7225 GB, free: 3.586 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.2068, allocations: 0 / 0.7225 GB, free: 3.586 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.2068, allocations: 4 kB / 0.7225 GB, free: 3.582 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.2068, allocations: 8 kB / 0.7225 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/0.207, allocations: 369.3 kB / 0.7228 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.2071, allocations: 124.5 kB / 0.723 GB, free: 3.055 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.921e-05/0.2072, allocations: 15.78 kB / 0.723 GB, free: 3.039 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002602/0.2075, allocations: 11.97 kB / 0.723 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.603e-05/0.2075, allocations: 12 kB / 0.723 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.2075, allocations: 0 / 0.723 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006818/0.2082, allocations: 0.6395 MB / 0.7236 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2082, allocations: 0 / 0.7236 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009445/0.2092, allocations: 279 kB / 0.7239 GB, free: 2.102 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.0004727/0.2096, allocations: 0.9056 MB / 0.7248 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008565/0.2105, allocations: 0.7153 MB / 0.7255 GB, free: 468 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2105, allocations: 0 / 0.7255 GB, free: 468 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.55e-05/0.2106, allocations: 25.55 kB / 0.7255 GB, free: 444 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005229/0.2111, allocations: 39.69 kB / 0.7255 GB, free: 404 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008593/0.2197, allocations: 8.186 MB / 0.7335 GB, free: 7.375 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008817/0.2206, allocations: 1.276 MB / 0.7348 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0007311/0.2213, allocations: 365.2 kB / 0.7351 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003221/0.2217, allocations: 291.3 kB / 0.7354 GB, free: 5.426 MB / 0.5294 GB Notification: Performance of SimCode: time 6.41e-07/0.2217, allocations: 0 / 0.7354 GB, free: 5.426 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06583/0.2875, allocations: 13.42 MB / 0.7485 GB, free: 8.176 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.508/7.796, allocations: 10.47 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 & /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)