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.001829/0.001829, allocations: 101.4 kB / 16.27 MB, free: 6.414 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.002038/0.002038, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.338/1.338, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002175/0.002175, allocations: 292.6 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.949/0.949, allocations: 169.3 MB / 0.4988 GB, free: 4.484 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 91.05 kB / 0.5959 GB, free: 15.11 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1568, allocations: 86.98 MB / 0.6808 GB, free: 8.141 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.006971/0.1638, allocations: 5.194 MB / 0.6859 GB, free: 2.922 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002663/0.1665, allocations: 1.676 MB / 0.6876 GB, free: 1.238 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002377/0.1667, allocations: 16 kB / 0.6876 GB, free: 1.223 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001378/0.1681, allocations: 0.5212 MB / 0.6881 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005439/0.1687, allocations: 243 kB / 0.6883 GB, free: 472 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005935/0.1693, allocations: 239.5 kB / 0.6885 GB, free: 232 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.2786/0.4479, allocations: 1.67 MB / 0.6902 GB, free: 12.39 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00285/0.4508, allocations: 2.544 MB / 0.6927 GB, free: 11.96 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00121/0.4521, allocations: 0.7732 MB / 0.6934 GB, free: 11.91 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001184/0.4532, allocations: 0.9338 MB / 0.6943 GB, free: 11.84 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003036/0.4536, allocations: 189.6 kB / 0.6945 GB, free: 11.84 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006645/0.4542, allocations: 314.2 kB / 0.6948 GB, free: 11.84 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007741/0.455, allocations: 0.7329 MB / 0.6955 GB, free: 11.8 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007013/0.4557, allocations: 0.7049 MB / 0.6962 GB, free: 11.35 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002738/0.4585, allocations: 2.653 MB / 0.6988 GB, free: 10.6 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.4585, allocations: 0 / 0.6988 GB, free: 10.6 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.4585, allocations: 1.375 kB / 0.6988 GB, free: 10.6 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.529e-05/0.4586, allocations: 0 / 0.6988 GB, free: 10.6 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.002642/0.4612, allocations: 1.378 MB / 0.7001 GB, free: 9.738 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.4613, allocations: 9.094 kB / 0.7002 GB, free: 9.738 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001559/0.4628, allocations: 306 kB / 0.7004 GB, free: 9.664 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.4639, allocations: 0.7151 MB / 0.7011 GB, free: 9.242 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.965e-05/0.4639, allocations: 94.95 kB / 0.7012 GB, free: 9.199 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002032/0.4642, allocations: 121.5 kB / 0.7014 GB, free: 9.16 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003456/0.4676, allocations: 2.129 MB / 0.7034 GB, free: 8.387 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.76e-05/0.4677, allocations: 3.938 kB / 0.7034 GB, free: 8.383 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001443/0.4678, allocations: 54.53 kB / 0.7035 GB, free: 8.34 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.488e-05/0.4679, allocations: 59 kB / 0.7035 GB, free: 8.332 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003095/0.471, allocations: 1.866 MB / 0.7054 GB, free: 7.727 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008457/0.4795, allocations: 7.762 MB / 0.7129 GB, free: 2.43 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.4796, allocations: 130.3 kB / 0.7131 GB, free: 2.312 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.346e-05/0.4797, allocations: 80.36 kB / 0.7131 GB, free: 2.266 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.27e-05/0.4798, allocations: 91.91 kB / 0.7132 GB, free: 2.168 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.4799, allocations: 40.19 kB / 0.7133 GB, free: 2.125 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 2.544e-06/0.4799, allocations: 0 / 0.7133 GB, free: 2.125 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005616/0.4805, allocations: 273 kB / 0.7135 GB, free: 2.016 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.4805, allocations: 134 kB / 0.7137 GB, free: 1.859 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.4815, allocations: 0.9101 MB / 0.7145 GB, free: 1.488 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.4816, allocations: 30.86 kB / 0.7146 GB, free: 1.453 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003139/0.4819, allocations: 0.7612 MB / 0.7153 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.951e-05/0.4819, allocations: 57.8 kB / 0.7154 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003238/0.4823, allocations: 265 kB / 0.7156 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.636e-05/0.4823, allocations: 367 kB / 0.716 GB, free: 356 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004853/0.4828, allocations: 429.4 kB / 0.7164 GB, free: 224 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009425/0.4838, allocations: 1.167 MB / 0.7175 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001533/0.4853, allocations: 1.593 MB / 0.7191 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.38e-05/0.4854, allocations: 7.688 kB / 0.7191 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002377/0.4877, allocations: 1.548 MB / 0.7206 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.84e-05/0.4878, allocations: 17.72 kB / 0.7206 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.78e-05/0.4878, allocations: 26.69 kB / 0.7206 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.591e-05/0.4879, allocations: 39.8 kB / 0.7207 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000859/0.4888, allocations: 280.5 kB / 0.7209 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.849e-05/0.4888, allocations: 55.56 kB / 0.721 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000977/0.4898, allocations: 195 kB / 0.7212 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.4899, allocations: 69.84 kB / 0.7213 GB, free: 12.75 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.001026/0.491, allocations: 0.6353 MB / 0.7219 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000181/0.4911, allocations: 57.03 kB / 0.7219 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003066/0.4915, allocations: 133.3 kB / 0.7221 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.4915, allocations: 2.281 kB / 0.7221 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.4915, allocations: 5.469 kB / 0.7221 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.4915, allocations: 0 / 0.7221 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001486/0.493, allocations: 0.776 MB / 0.7228 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.493, allocations: 4.969 kB / 0.7228 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.182e-05/0.4931, allocations: 4.875 kB / 0.7228 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/0.4931, allocations: 0.8125 kB / 0.7228 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.4931, allocations: 1.031 kB / 0.7228 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.4931, allocations: 5.469 kB / 0.7228 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.4931, allocations: 4.781 kB / 0.7228 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000371/0.4935, allocations: 365.2 kB / 0.7232 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001729/0.4937, allocations: 134.3 kB / 0.7233 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.293e-05/0.4937, allocations: 5.281 kB / 0.7233 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002863/0.494, allocations: 14.78 kB / 0.7233 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.337e-05/0.4941, allocations: 6.688 kB / 0.7233 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.4941, allocations: 1.25 kB / 0.7233 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009124/0.495, allocations: 0.6436 MB / 0.724 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.495, allocations: 1.344 kB / 0.724 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001521/0.4965, allocations: 277.6 kB / 0.7242 GB, free: 10.73 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.0001843/0.4967, allocations: 102.3 kB / 0.7243 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001288/0.498, allocations: 0.7204 MB / 0.725 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.498, allocations: 0 / 0.725 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.286e-05/0.4981, allocations: 25.7 kB / 0.7251 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006303/0.4987, allocations: 44.69 kB / 0.7251 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003743/0.5025, allocations: 1.872 MB / 0.7269 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001184/0.5037, allocations: 1.307 MB / 0.7282 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001829/0.5039, allocations: 49.69 kB / 0.7283 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of SimCode: time 1.112e-06/0.5039, allocations: 4 kB / 0.7283 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of Templates: time 0.02407/0.528, allocations: 12.18 MB / 0.7402 GB, free: 15.98 MB / 0.5137 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe 2>&1)