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.0007823/0.0007822, allocations: 90.98 kB / 15.36 MB, free: 0.7383 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.005731/0.005731, allocations: 170.7 kB / 16.26 MB, free: 6.613 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.308/1.308, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001666/0.001666, allocations: 254.7 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9101/0.9101, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004344/0.0004347, allocations: 12.5 kB / 0.5988 GB, free: 27.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.172, allocations: 88.55 MB / 0.6852 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.00571/0.1777, allocations: 4.826 MB / 0.69 GB, free: 10.1 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002512/0.1802, allocations: 1.661 MB / 0.6916 GB, free: 8.438 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001522/0.1804, allocations: 12 kB / 0.6916 GB, free: 8.426 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002439/0.1807, allocations: 99.27 kB / 0.6917 GB, free: 8.328 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004906/0.1812, allocations: 235.8 kB / 0.6919 GB, free: 8.098 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000424/0.1816, allocations: 200.9 kB / 0.6921 GB, free: 7.902 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002263/0.1839, allocations: 2.616 MB / 0.6947 GB, free: 5.281 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004053/0.1879, allocations: 3.141 MB / 0.6977 GB, free: 2.109 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007246/0.1887, allocations: 0.5138 MB / 0.6982 GB, free: 1.594 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008747/0.1896, allocations: 0.7828 MB / 0.699 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.1897, allocations: 84 kB / 0.6991 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004368/0.1901, allocations: 243.7 kB / 0.6993 GB, free: 500 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005172/0.1907, allocations: 0.612 MB / 0.6999 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004976/0.1912, allocations: 0.5734 MB / 0.7005 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001841/0.193, allocations: 2.52 MB / 0.7029 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.193, allocations: 0 / 0.7029 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.994e-06/0.193, allocations: 3.938 kB / 0.7029 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.635e-05/0.1931, allocations: 0 / 0.7029 GB, free: 12.76 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.001908/0.195, allocations: 1.137 MB / 0.704 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.195, allocations: 8.031 kB / 0.704 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002727/0.1953, allocations: 214.2 kB / 0.7043 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001446/0.1968, allocations: 307.3 kB / 0.7045 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009819/0.1978, allocations: 0.7155 MB / 0.7052 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.883e-05/0.1979, allocations: 98.86 kB / 0.7053 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001935/0.1981, allocations: 120.4 kB / 0.7055 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0032/0.2013, allocations: 2.125 MB / 0.7075 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.574e-05/0.2013, allocations: 0 / 0.7075 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001299/0.2014, allocations: 55.98 kB / 0.7076 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-05/0.2015, allocations: 62.06 kB / 0.7076 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002759/0.2043, allocations: 1.866 MB / 0.7095 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008835/0.2131, allocations: 7.752 MB / 0.717 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.2133, allocations: 126.4 kB / 0.7172 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.2134, allocations: 83.45 kB / 0.7172 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001/0.2135, allocations: 93.08 kB / 0.7173 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.2136, allocations: 38.56 kB / 0.7174 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 2.224e-06/0.2136, allocations: 0 / 0.7174 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0005193/0.2141, allocations: 273 kB / 0.7176 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.291e-05/0.2142, allocations: 136.4 kB / 0.7177 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/0.2153, allocations: 0.9125 MB / 0.7186 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.2153, allocations: 33.7 kB / 0.7187 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004766/0.2158, allocations: 0.7586 MB / 0.7194 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.971e-05/0.2158, allocations: 55.52 kB / 0.7195 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.216, allocations: 97.67 kB / 0.7196 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.2162, allocations: 370.8 kB / 0.7199 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005324/0.2167, allocations: 430.3 kB / 0.7203 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001043/0.2177, allocations: 1.169 MB / 0.7215 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001549/0.2193, allocations: 1.595 MB / 0.723 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.167e-05/0.2193, allocations: 8 kB / 0.723 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002048/0.2214, allocations: 1.541 MB / 0.7245 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.227e-05/0.2214, allocations: 16 kB / 0.7246 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.654e-05/0.2214, allocations: 28.05 kB / 0.7246 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.103e-05/0.2215, allocations: 40 kB / 0.7246 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007825/0.2223, allocations: 280.2 kB / 0.7249 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-05/0.2223, allocations: 51.78 kB / 0.7249 GB, free: 4.559 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007519/0.2231, allocations: 198.2 kB / 0.7251 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-05/0.2232, allocations: 72 kB / 0.7252 GB, free: 4.293 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.0007311/0.2239, allocations: 0.638 MB / 0.7258 GB, free: 3.645 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.224, allocations: 59.34 kB / 0.7259 GB, free: 3.586 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002618/0.2243, allocations: 133.7 kB / 0.726 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.2243, allocations: 0 / 0.726 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.2243, allocations: 0 / 0.726 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.2243, allocations: 0 / 0.726 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.2254, allocations: 0.7822 MB / 0.7268 GB, free: 2.605 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2254, allocations: 0 / 0.7268 GB, free: 2.605 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.035e-05/0.2254, allocations: 4 kB / 0.7268 GB, free: 2.602 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.2255, allocations: 0 / 0.7268 GB, free: 2.602 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.2255, allocations: 8 kB / 0.7268 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2255, allocations: 0 / 0.7268 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2255, allocations: 0 / 0.7268 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002446/0.2257, allocations: 369.3 kB / 0.7271 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001508/0.2259, allocations: 152.4 kB / 0.7273 GB, free: 2.047 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.05e-05/0.226, allocations: 4 kB / 0.7273 GB, free: 2.043 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002495/0.2262, allocations: 19.91 kB / 0.7273 GB, free: 2.023 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.564e-05/0.2262, allocations: 4 kB / 0.7273 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.2262, allocations: 0 / 0.7273 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007141/0.227, allocations: 0.6434 MB / 0.7279 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.227, allocations: 0 / 0.7279 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001009/0.228, allocations: 278.9 kB / 0.7282 GB, free: 1.098 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.0006086/0.2286, allocations: 0.9057 MB / 0.7291 GB, free: 164 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001004/0.2296, allocations: 0.7168 MB / 0.7298 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.2296, allocations: 0 / 0.7298 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.802e-05/0.2297, allocations: 23.92 kB / 0.7298 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005626/0.2302, allocations: 41.64 kB / 0.7298 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009616/0.2399, allocations: 8.582 MB / 0.7382 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009745/0.2409, allocations: 1.288 MB / 0.7395 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000732/0.2416, allocations: 369.3 kB / 0.7398 GB, free: 4.297 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003149/0.2419, allocations: 291.3 kB / 0.7401 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of SimCode: time 9.42e-07/0.2419, allocations: 4 kB / 0.7401 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02442/0.2664, allocations: 12.99 MB / 0.7528 GB, free: 7.234 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001922/0.2666, allocations: 254.1 kB / 0.753 GB, free: 6.973 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.76/2.027, allocations: 8 kB / 0.753 GB, free: 6.965 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)