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: translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 103.9 kB / 16.35 MB, free: 5.875 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.0009824/0.0009824, allocations: 191 kB / 17.29 MB, free: 5.516 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.273/1.273, allocations: 222.9 MB / 241 MB, free: 14.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002321/0.002321, allocations: 299.5 kB / 291.4 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9277/0.9277, allocations: 169.2 MB / 0.4989 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001734, allocations: 98.66 kB / 0.5967 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1739, allocations: 86.96 MB / 0.6816 GB, free: 7.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.006751/0.1807, allocations: 5.203 MB / 0.6867 GB, free: 2.219 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002402/0.1831, allocations: 1.68 MB / 0.6883 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.1833, allocations: 16 kB / 0.6883 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2534/0.4367, allocations: 0.5207 MB / 0.6888 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007548/0.4375, allocations: 243.4 kB / 0.6891 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005579/0.438, allocations: 238.1 kB / 0.6893 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001556/0.4396, allocations: 1.668 MB / 0.6909 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002508/0.4421, allocations: 2.526 MB / 0.6934 GB, free: 12.49 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009731/0.4431, allocations: 0.7765 MB / 0.6942 GB, free: 12.44 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001007/0.4441, allocations: 0.9346 MB / 0.6951 GB, free: 12.34 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002267/0.4444, allocations: 189.3 kB / 0.6952 GB, free: 12.34 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005501/0.4449, allocations: 320.2 kB / 0.6956 GB, free: 12.31 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006816/0.4456, allocations: 0.7275 MB / 0.6963 GB, free: 12.03 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006216/0.4462, allocations: 0.713 MB / 0.697 GB, free: 11.57 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002659/0.4489, allocations: 2.656 MB / 0.6996 GB, free: 10.81 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.4489, allocations: 1.031 kB / 0.6996 GB, free: 10.81 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4489, allocations: 0.6562 kB / 0.6996 GB, free: 10.81 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.293e-05/0.449, allocations: 0 / 0.6996 GB, free: 10.81 MB / 494.1 MB 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.002375/0.4514, allocations: 1.366 MB / 0.7009 GB, free: 9.953 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.4514, allocations: 9.094 kB / 0.7009 GB, free: 9.953 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001453/0.4529, allocations: 312.7 kB / 0.7012 GB, free: 9.875 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001564/0.4544, allocations: 0.7179 MB / 0.7019 GB, free: 9.453 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/0.4545, allocations: 95.75 kB / 0.702 GB, free: 9.41 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002872/0.4548, allocations: 115.2 kB / 0.7021 GB, free: 9.375 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004323/0.4592, allocations: 2.139 MB / 0.7042 GB, free: 8.594 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.884e-05/0.4592, allocations: 7.938 kB / 0.7042 GB, free: 8.586 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001473/0.4594, allocations: 50.72 kB / 0.7042 GB, free: 8.547 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.986e-05/0.4595, allocations: 54.11 kB / 0.7043 GB, free: 8.543 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003043/0.4625, allocations: 1.873 MB / 0.7061 GB, free: 7.93 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00749/0.47, allocations: 7.67 MB / 0.7136 GB, free: 2.609 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.4702, allocations: 131.5 kB / 0.7137 GB, free: 2.488 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.189e-05/0.4702, allocations: 78.42 kB / 0.7138 GB, free: 2.441 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.05e-05/0.4703, allocations: 93.19 kB / 0.7139 GB, free: 2.344 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.836e-05/0.4703, allocations: 37.09 kB / 0.7139 GB, free: 2.301 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.4704, allocations: 0 / 0.7139 GB, free: 2.301 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004591/0.4708, allocations: 268.7 kB / 0.7142 GB, free: 2.188 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.4709, allocations: 134.6 kB / 0.7143 GB, free: 2.027 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009094/0.4718, allocations: 0.918 MB / 0.7152 GB, free: 1.648 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.4718, allocations: 25.7 kB / 0.7152 GB, free: 1.617 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002718/0.4721, allocations: 0.7649 MB / 0.716 GB, free: 1.012 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.417e-05/0.4721, allocations: 56.05 kB / 0.716 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002856/0.4724, allocations: 267.6 kB / 0.7163 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.551e-05/0.4725, allocations: 367.4 kB / 0.7166 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005078/0.473, allocations: 429.4 kB / 0.7171 GB, free: 388 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008688/0.4739, allocations: 1.164 MB / 0.7182 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001416/0.4753, allocations: 1.595 MB / 0.7198 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.267e-05/0.4753, allocations: 12.22 kB / 0.7198 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.001939/0.4773, allocations: 1.542 MB / 0.7213 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.224e-05/0.4773, allocations: 20.05 kB / 0.7213 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.669e-05/0.4773, allocations: 27.22 kB / 0.7213 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.96e-05/0.4774, allocations: 38.22 kB / 0.7214 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007496/0.4781, allocations: 293.3 kB / 0.7216 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.876e-05/0.4782, allocations: 51.56 kB / 0.7217 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007943/0.479, allocations: 186.7 kB / 0.7219 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-05/0.4791, allocations: 73.72 kB / 0.7219 GB, free: 12.61 MB / 0.4981 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.0006359/0.4797, allocations: 0.6358 MB / 0.7225 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/0.4799, allocations: 64.97 kB / 0.7226 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002369/0.4801, allocations: 128.4 kB / 0.7227 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.4801, allocations: 1.031 kB / 0.7227 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4801, allocations: 1.094 kB / 0.7227 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.4801, allocations: 1.219 kB / 0.7227 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009856/0.4811, allocations: 0.7767 MB / 0.7235 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4811, allocations: 4 kB / 0.7235 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.95e-05/0.4812, allocations: 4.938 kB / 0.7235 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.4812, allocations: 1.312 kB / 0.7235 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.4812, allocations: 1.438 kB / 0.7235 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4812, allocations: 0 / 0.7235 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.4812, allocations: 5.125 kB / 0.7235 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.4814, allocations: 369.3 kB / 0.7239 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.4816, allocations: 126.3 kB / 0.724 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.767e-05/0.4817, allocations: 6.469 kB / 0.724 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002556/0.4819, allocations: 14.09 kB / 0.724 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.588e-05/0.4819, allocations: 9.844 kB / 0.724 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.4819, allocations: 1.188 kB / 0.724 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007551/0.4827, allocations: 0.6411 MB / 0.7246 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.426e-06/0.4827, allocations: 0 / 0.7246 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009906/0.4837, allocations: 286.9 kB / 0.7249 GB, free: 10.59 MB / 0.4981 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.0001236/0.4838, allocations: 106.3 kB / 0.725 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000882/0.4847, allocations: 0.7196 MB / 0.7257 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4847, allocations: 0 / 0.7257 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.296e-05/0.4848, allocations: 17.7 kB / 0.7257 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005007/0.4853, allocations: 48.11 kB / 0.7258 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002231/0.4875, allocations: 1.634 MB / 0.7274 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/0.4885, allocations: 1.282 MB / 0.7286 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006696/0.4892, allocations: 360.7 kB / 0.729 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.2e-05/0.4893, allocations: 43.41 kB / 0.729 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.4893, allocations: 0 / 0.729 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of Templates: time 0.009763/0.4991, allocations: 4.874 MB / 0.7338 GB, free: 5.824 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.makefile (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 & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe 2>&1)