Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 105.2 kB / 16.36 MB, free: 6.285 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.001267/0.001267, allocations: 192 kB / 17.29 MB, free: 5.863 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.286/1.286, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002105/0.002106, allocations: 278.7 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9402/0.9402, allocations: 169.3 MB / 0.4989 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001721/0.001721, allocations: 90.86 kB / 0.5967 GB, free: 14.49 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1508, allocations: 86.98 MB / 0.6816 GB, free: 7.5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.2723/0.4232, allocations: 20.41 MB / 0.7015 GB, free: 8.539 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01092/0.4341, allocations: 7.528 MB / 0.7089 GB, free: 3.457 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001808/0.436, allocations: 60.38 kB / 0.7089 GB, free: 3.445 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003081/0.4392, allocations: 1.367 MB / 0.7103 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002498/0.4417, allocations: 0.9649 MB / 0.7112 GB, free: 2.07 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00498/0.4467, allocations: 2 MB / 0.7132 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00568/0.4524, allocations: 4.321 MB / 0.7174 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007234/0.4596, allocations: 6.161 MB / 0.7234 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003076/0.4627, allocations: 1.848 MB / 0.7252 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003526/0.4663, allocations: 2.199 MB / 0.7274 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007014/0.467, allocations: 427.3 kB / 0.7278 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00186/0.4688, allocations: 0.9121 MB / 0.7287 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001785/0.4706, allocations: 1.662 MB / 0.7303 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002038/0.4727, allocations: 1.71 MB / 0.7319 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005699/0.4784, allocations: 6.164 MB / 0.738 GB, free: 4 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.4784, allocations: 0 / 0.738 GB, free: 4 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4784, allocations: 4 kB / 0.738 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001207/0.4786, allocations: 1.25 kB / 0.738 GB, free: 3.996 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: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.007236/0.4858, allocations: 3.043 MB / 0.7409 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.4859, allocations: 9.562 kB / 0.741 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003357/0.4892, allocations: 0.6824 MB / 0.7416 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003525/0.4928, allocations: 1.567 MB / 0.7431 GB, free: 452 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001433/0.4929, allocations: 222.1 kB / 0.7434 GB, free: 228 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004698/0.4934, allocations: 280.4 kB / 0.7436 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007783/0.5012, allocations: 5.051 MB / 0.7486 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-05/0.5013, allocations: 11.94 kB / 0.7486 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003096/0.5016, allocations: 120 kB / 0.7487 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000221/0.5018, allocations: 204.6 kB / 0.7489 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006995/0.5088, allocations: 4.181 MB / 0.753 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02452/0.5334, allocations: 22.86 MB / 0.7753 GB, free: 13.19 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002662/0.5361, allocations: 1.72 MB / 0.777 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00146/0.5376, allocations: 1.135 MB / 0.7781 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001609/0.5377, allocations: 97.73 kB / 0.7782 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.5378, allocations: 51.09 kB / 0.7782 GB, free: 10.11 MB / 0.545 GB Notification: Performance of pre-optimization done (n=84): time 2.765e-06/0.5378, allocations: 8 kB / 0.7782 GB, free: 10.11 MB / 0.545 GB Notification: Performance of matching and sorting (n=87): time 0.005466/0.5433, allocations: 3.977 MB / 0.7821 GB, free: 6.094 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/0.5433, allocations: 149 kB / 0.7822 GB, free: 5.918 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009689/0.5443, allocations: 0.8453 MB / 0.7831 GB, free: 5.062 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.883e-05/0.5444, allocations: 45.7 kB / 0.7831 GB, free: 5.012 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006067/0.545, allocations: 1.166 MB / 0.7843 GB, free: 3.828 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002457/0.5453, allocations: 307.5 kB / 0.7846 GB, free: 3.523 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004062/0.5457, allocations: 270.6 kB / 0.7848 GB, free: 3.254 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.5458, allocations: 414.7 kB / 0.7852 GB, free: 2.84 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/0.5469, allocations: 0.7984 MB / 0.786 GB, free: 2.035 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001367/0.5483, allocations: 1.287 MB / 0.7872 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002469/0.5508, allocations: 2.144 MB / 0.7893 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/0.5508, allocations: 4 kB / 0.7893 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003067/0.5539, allocations: 2.172 MB / 0.7915 GB, free: 12 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.5539, allocations: 8 kB / 0.7915 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/0.5539, allocations: 16 kB / 0.7915 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.109e-05/0.554, allocations: 20 kB / 0.7915 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00151/0.5555, allocations: 407.2 kB / 0.7919 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.138e-05/0.5555, allocations: 31.92 kB / 0.7919 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/0.5567, allocations: 199.5 kB / 0.7921 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/0.5568, allocations: 64.12 kB / 0.7922 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002363/0.5592, allocations: 1.658 MB / 0.7938 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0012/0.5604, allocations: 1.17 MB / 0.7949 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002126/0.5625, allocations: 1.87 MB / 0.7968 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.538e-06/0.5625, allocations: 11.94 kB / 0.7968 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.002687/0.5652, allocations: 1.882 MB / 0.7986 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.5652, allocations: 14.34 kB / 0.7986 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/0.5653, allocations: 20.86 kB / 0.7986 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.5653, allocations: 24 kB / 0.7987 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/0.5665, allocations: 359.4 kB / 0.799 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.68e-05/0.5666, allocations: 31.86 kB / 0.799 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/0.5676, allocations: 163.4 kB / 0.7992 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.964e-05/0.5677, allocations: 56 kB / 0.7992 GB, free: 3.57 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (156): * Single equations (assignments): 156 * 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.0003487/0.5681, allocations: 267.8 kB / 0.7995 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002332/0.5683, allocations: 110.7 kB / 0.7996 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002612/0.571, allocations: 1.835 MB / 0.8014 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.571, allocations: 12 kB / 0.8014 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.571, allocations: 4 kB / 0.8014 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.571, allocations: 3.984 kB / 0.8014 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01229/0.5833, allocations: 9.573 MB / 0.8108 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.268e-05/0.5834, allocations: 12 kB / 0.8108 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001171/0.5845, allocations: 315.6 kB / 0.8111 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.719e-05/0.5846, allocations: 16.19 kB / 0.8111 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.363e-05/0.5846, allocations: 27.98 kB / 0.8111 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.273e-05/0.5847, allocations: 31.75 kB / 0.8112 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.039e-05/0.5847, allocations: 15.94 kB / 0.8112 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002568/0.5873, allocations: 2.406 MB / 0.8135 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000755/0.588, allocations: 371.6 kB / 0.8139 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001505/0.5882, allocations: 28 kB / 0.8139 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008689/0.5891, allocations: 143.7 kB / 0.814 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001882/0.5893, allocations: 91.67 kB / 0.8141 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.15e-05/0.5893, allocations: 36 kB / 0.8142 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006862/0.59, allocations: 0.5888 MB / 0.8147 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.59, allocations: 0 / 0.8147 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002303/0.5923, allocations: 0.75 MB / 0.8155 GB, free: 2.512 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (90): * Single equations (assignments): 90 * 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.0002109/0.5926, allocations: 150.9 kB / 0.8156 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003787/0.5964, allocations: 2.857 MB / 0.8184 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.772e-06/0.5964, allocations: 1.75 kB / 0.8184 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001188/0.5976, allocations: 0.9118 MB / 0.8193 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001714/0.5993, allocations: 317.2 kB / 0.8196 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007252/0.6066, allocations: 4.984 MB / 0.8245 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001867/0.6085, allocations: 2.131 MB / 0.8265 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001655/0.6101, allocations: 0.7266 MB / 0.8272 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003692/0.6105, allocations: 87.42 kB / 0.8273 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of SimCode: time 1.093e-06/0.6105, allocations: 0 / 0.8273 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of Templates: time 0.267/0.8775, allocations: 17.37 MB / 0.8443 GB, free: 4.973 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)