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.00106/0.00106, allocations: 102.2 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.0009859/0.0009859, allocations: 194.3 kB / 17.3 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.321/1.321, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002104/0.002104, allocations: 289.3 kB / 291.4 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9096/0.9096, allocations: 169.3 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 97.34 kB / 0.5967 GB, free: 14.42 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1439, allocations: 86.96 MB / 0.6816 GB, free: 7.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.006807/0.1507, allocations: 5.199 MB / 0.6867 GB, free: 2.219 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002327/0.1531, allocations: 1.672 MB / 0.6883 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.1532, allocations: 23.88 kB / 0.6883 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2397/0.3929, allocations: 0.5193 MB / 0.6888 GB, free: 12.9 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006779/0.3937, allocations: 245.2 kB / 0.6891 GB, free: 12.9 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005442/0.3942, allocations: 228.4 kB / 0.6893 GB, free: 12.9 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001441/0.3957, allocations: 1.671 MB / 0.6909 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002496/0.3982, allocations: 2.522 MB / 0.6934 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009652/0.3991, allocations: 0.7753 MB / 0.6941 GB, free: 12.43 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001046/0.4002, allocations: 0.9377 MB / 0.6951 GB, free: 12.35 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002335/0.4004, allocations: 190.4 kB / 0.6952 GB, free: 12.35 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005547/0.401, allocations: 316 kB / 0.6955 GB, free: 12.33 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006943/0.4017, allocations: 0.7367 MB / 0.6963 GB, free: 12.04 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006766/0.4024, allocations: 0.71 MB / 0.697 GB, free: 11.58 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002437/0.4048, allocations: 2.649 MB / 0.6995 GB, free: 10.83 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4048, allocations: 3.938 kB / 0.6996 GB, free: 10.82 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4049, allocations: 6.906 kB / 0.6996 GB, free: 10.82 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.587e-05/0.4049, allocations: 0.9062 kB / 0.6996 GB, free: 10.82 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.00223/0.4071, allocations: 1.371 MB / 0.7009 GB, free: 9.961 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.4072, allocations: 9.906 kB / 0.7009 GB, free: 9.961 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001567/0.4088, allocations: 301.4 kB / 0.7012 GB, free: 9.891 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001454/0.4102, allocations: 0.7238 MB / 0.7019 GB, free: 9.465 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.536e-05/0.4103, allocations: 88.72 kB / 0.702 GB, free: 9.426 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002113/0.4105, allocations: 122.1 kB / 0.7021 GB, free: 9.387 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003526/0.414, allocations: 2.135 MB / 0.7042 GB, free: 8.609 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.741e-05/0.4141, allocations: 4.453 kB / 0.7042 GB, free: 8.605 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001484/0.4142, allocations: 50.5 kB / 0.7042 GB, free: 8.566 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.969e-05/0.4143, allocations: 58.12 kB / 0.7043 GB, free: 8.559 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003417/0.4178, allocations: 1.866 MB / 0.7061 GB, free: 7.953 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008027/0.4258, allocations: 7.682 MB / 0.7136 GB, free: 2.633 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.4259, allocations: 137.5 kB / 0.7138 GB, free: 2.504 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.287e-05/0.426, allocations: 81.06 kB / 0.7138 GB, free: 2.457 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.813e-05/0.4261, allocations: 86.28 kB / 0.7139 GB, free: 2.363 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.502e-05/0.4262, allocations: 34.91 kB / 0.7139 GB, free: 2.324 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.793e-06/0.4262, allocations: 7.938 kB / 0.714 GB, free: 2.316 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004735/0.4266, allocations: 269.4 kB / 0.7142 GB, free: 2.203 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.4267, allocations: 135.1 kB / 0.7143 GB, free: 2.043 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009382/0.4276, allocations: 0.9144 MB / 0.7152 GB, free: 1.668 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.4276, allocations: 26.95 kB / 0.7153 GB, free: 1.637 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003263/0.428, allocations: 0.7586 MB / 0.716 GB, free: 1.035 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.967e-05/0.428, allocations: 52.97 kB / 0.716 GB, free: 1.004 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000321/0.4284, allocations: 269.6 kB / 0.7163 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.173e-05/0.4285, allocations: 371.9 kB / 0.7167 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005132/0.429, allocations: 424.6 kB / 0.7171 GB, free: 412 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000947/0.4299, allocations: 1.167 MB / 0.7182 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/0.4314, allocations: 1.594 MB / 0.7198 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.371e-05/0.4314, allocations: 8.25 kB / 0.7198 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002081/0.4335, allocations: 1.549 MB / 0.7213 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/0.4336, allocations: 16 kB / 0.7213 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.957e-05/0.4336, allocations: 27.22 kB / 0.7213 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.496e-05/0.4337, allocations: 35.38 kB / 0.7214 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007733/0.4344, allocations: 285.4 kB / 0.7216 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-05/0.4345, allocations: 46.3 kB / 0.7217 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008517/0.4354, allocations: 194.7 kB / 0.7219 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/0.4355, allocations: 78.27 kB / 0.7219 GB, free: 12.62 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.0008782/0.4364, allocations: 0.6312 MB / 0.7225 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/0.4365, allocations: 57.62 kB / 0.7226 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000291/0.4368, allocations: 137.4 kB / 0.7227 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.4368, allocations: 3.938 kB / 0.7227 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.4368, allocations: 5.094 kB / 0.7227 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.4368, allocations: 0.9688 kB / 0.7227 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001087/0.4379, allocations: 0.7728 MB / 0.7235 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.438, allocations: 1.406 kB / 0.7235 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.367e-05/0.438, allocations: 7.734 kB / 0.7235 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.438, allocations: 1.031 kB / 0.7235 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.438, allocations: 1.219 kB / 0.7235 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.438, allocations: 5.312 kB / 0.7235 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.438, allocations: 1.375 kB / 0.7235 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000241/0.4383, allocations: 368.8 kB / 0.7239 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001488/0.4384, allocations: 130.1 kB / 0.724 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.747e-05/0.4385, allocations: 6.594 kB / 0.724 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002656/0.4388, allocations: 10.48 kB / 0.724 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.786e-05/0.4388, allocations: 1.188 kB / 0.724 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-06/0.4388, allocations: 2.344 kB / 0.724 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007364/0.4395, allocations: 0.6478 MB / 0.7246 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.553e-06/0.4396, allocations: 1.375 kB / 0.7246 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001084/0.4406, allocations: 281.5 kB / 0.7249 GB, free: 10.6 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.0001404/0.4408, allocations: 110.4 kB / 0.725 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009588/0.4418, allocations: 0.7119 MB / 0.7257 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4418, allocations: 0 / 0.7257 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.56e-05/0.4418, allocations: 21.42 kB / 0.7257 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005302/0.4423, allocations: 50.28 kB / 0.7258 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002273/0.4446, allocations: 1.632 MB / 0.7274 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009492/0.4456, allocations: 1.278 MB / 0.7286 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006831/0.4463, allocations: 366.1 kB / 0.729 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.988e-05/0.4464, allocations: 46.78 kB / 0.729 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of SimCode: time 3.71e-07/0.4464, allocations: 3.938 kB / 0.729 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of Templates: time 0.009869/0.4563, allocations: 4.864 MB / 0.7338 GB, free: 5.84 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 gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe 2>&1)