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.001657/0.001657, 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.001379/0.001379, allocations: 197 kB / 16.54 MB, free: 6.664 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.434/1.434, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002554/0.002554, allocations: 283.2 kB / 290.7 MB, free: 1.965 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.075/1.075, allocations: 178.6 MB / 0.5073 GB, free: 4.547 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002988/0.002988, allocations: 99.31 kB / 0.6066 GB, free: 24.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1766, allocations: 89.14 MB / 0.6936 GB, free: 4.203 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.007896/0.1846, allocations: 5.196 MB / 0.6987 GB, free: 15 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003097/0.1877, allocations: 1.689 MB / 0.7003 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001699/0.1879, allocations: 16 kB / 0.7003 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001449/0.1894, allocations: 0.5164 MB / 0.7009 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004903/0.1899, allocations: 254.9 kB / 0.7011 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005178/0.1904, allocations: 233.2 kB / 0.7013 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001625/0.192, allocations: 1.672 MB / 0.703 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002896/0.1949, allocations: 2.546 MB / 0.7054 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009776/0.1959, allocations: 0.7677 MB / 0.7062 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001185/0.1971, allocations: 0.9389 MB / 0.7071 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002667/0.1974, allocations: 192 kB / 0.7073 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006406/0.198, allocations: 311.8 kB / 0.7076 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007733/0.1988, allocations: 0.7408 MB / 0.7083 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007906/0.1996, allocations: 0.7084 MB / 0.709 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002464/0.2021, allocations: 2.634 MB / 0.7116 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2021, allocations: 0 / 0.7116 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2021, allocations: 0 / 0.7116 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.272e-05/0.2022, allocations: 3.938 kB / 0.7116 GB, free: 1.742 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.002463/0.2046, allocations: 1.382 MB / 0.7129 GB, free: 316 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.2047, allocations: 12.03 kB / 0.7129 GB, free: 304 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000263/0.2049, allocations: 206.2 kB / 0.7131 GB, free: 88 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001494/0.2064, allocations: 303.3 kB / 0.7134 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/0.2076, allocations: 0.7065 MB / 0.7141 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.054e-05/0.2077, allocations: 94.88 kB / 0.7142 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002086/0.2079, allocations: 120.4 kB / 0.7143 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003356/0.2112, allocations: 2.137 MB / 0.7164 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/0.2113, allocations: 0 / 0.7164 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001352/0.2114, allocations: 52 kB / 0.7165 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-05/0.2115, allocations: 58.06 kB / 0.7165 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002961/0.2145, allocations: 1.874 MB / 0.7183 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009352/0.2238, allocations: 7.737 MB / 0.7259 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.224, allocations: 126.4 kB / 0.726 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.2241, allocations: 83.52 kB / 0.7261 GB, free: 2.059 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001184/0.2243, allocations: 93.03 kB / 0.7262 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.2243, allocations: 34.5 kB / 0.7262 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 2.214e-06/0.2243, allocations: 0 / 0.7262 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0005607/0.2249, allocations: 277 kB / 0.7265 GB, free: 1.629 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.53e-05/0.225, allocations: 132.5 kB / 0.7266 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/0.2261, allocations: 0.9082 MB / 0.7275 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.2261, allocations: 33.7 kB / 0.7275 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005706/0.2267, allocations: 0.7549 MB / 0.7283 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.707e-05/0.2268, allocations: 59.52 kB / 0.7283 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003562/0.2271, allocations: 266.5 kB / 0.7286 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001924/0.2273, allocations: 375 kB / 0.7289 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005935/0.2279, allocations: 426.3 kB / 0.7293 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001201/0.2292, allocations: 1.161 MB / 0.7305 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00177/0.2309, allocations: 1.604 MB / 0.732 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.101e-05/0.231, allocations: 4 kB / 0.732 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002261/0.2332, allocations: 1.543 MB / 0.7336 GB, free: 9.562 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.756e-05/0.2333, allocations: 20.03 kB / 0.7336 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-05/0.2333, allocations: 28 kB / 0.7336 GB, free: 9.516 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.937e-05/0.2334, allocations: 36 kB / 0.7336 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007888/0.2342, allocations: 279.5 kB / 0.7339 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.733e-05/0.2342, allocations: 55.78 kB / 0.7339 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000751/0.235, allocations: 190.3 kB / 0.7341 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.637e-05/0.2351, allocations: 75.98 kB / 0.7342 GB, free: 8.891 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.0007616/0.2358, allocations: 0.6387 MB / 0.7348 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/0.236, allocations: 59.34 kB / 0.7349 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002806/0.2363, allocations: 133.6 kB / 0.735 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.2363, allocations: 11.92 kB / 0.735 GB, free: 8.016 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.2363, allocations: 0 / 0.735 GB, free: 8.016 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.2363, allocations: 4 kB / 0.735 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/0.2374, allocations: 0.7747 MB / 0.7358 GB, free: 7.188 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.2374, allocations: 4 kB / 0.7358 GB, free: 7.184 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.087e-05/0.2375, allocations: 4 kB / 0.7358 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2375, allocations: 0 / 0.7358 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.2375, allocations: 3.984 kB / 0.7358 GB, free: 7.176 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2375, allocations: 4 kB / 0.7358 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.2375, allocations: 0 / 0.7358 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002774/0.2378, allocations: 377.2 kB / 0.7362 GB, free: 6.785 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.2379, allocations: 132.4 kB / 0.7363 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.168e-05/0.238, allocations: 7.938 kB / 0.7363 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000254/0.2383, allocations: 11.98 kB / 0.7363 GB, free: 6.617 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.423e-05/0.2383, allocations: 0 / 0.7363 GB, free: 6.617 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.2383, allocations: 0 / 0.7363 GB, free: 6.617 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007956/0.2391, allocations: 0.6434 MB / 0.7369 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2391, allocations: 4 kB / 0.7369 GB, free: 5.973 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009969/0.2401, allocations: 279 kB / 0.7372 GB, free: 5.699 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.0006222/0.2407, allocations: 0.9017 MB / 0.7381 GB, free: 4.77 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0009958/0.2417, allocations: 0.7206 MB / 0.7388 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.2417, allocations: 0 / 0.7388 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.711e-05/0.2418, allocations: 19.92 kB / 0.7388 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005185/0.2423, allocations: 43 kB / 0.7388 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009878/0.2522, allocations: 8.173 MB / 0.7468 GB, free: 11 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001113/0.2533, allocations: 1.288 MB / 0.7481 GB, free: 9.684 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007905/0.2541, allocations: 361.2 kB / 0.7484 GB, free: 9.328 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003688/0.2545, allocations: 291.3 kB / 0.7487 GB, free: 9.043 MB / 0.545 GB Notification: Performance of SimCode: time 1.192e-06/0.2545, allocations: 0 / 0.7487 GB, free: 9.043 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03946/0.294, allocations: 13.41 MB / 0.7618 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.781/8.075, allocations: 20.33 kB / 0.7618 GB, free: 11.79 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 & /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)