Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001391/0.001391, allocations: 198.1 kB / 16.14 MB, free: 6.715 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.439/1.439, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002538/0.002538, allocations: 279.2 kB / 290.2 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.096/1.096, allocations: 178.6 MB / 0.5068 GB, free: 4.797 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002793/0.002793, allocations: 101.6 kB / 0.6057 GB, free: 25.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.167, allocations: 89.15 MB / 0.6928 GB, free: 4.824 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.02196/0.189, allocations: 16.59 MB / 0.709 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01274/0.2018, allocations: 6.47 MB / 0.7153 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001758/0.2036, allocations: 39.88 kB / 0.7154 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003376/0.2069, allocations: 1.198 MB / 0.7165 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002271/0.2092, allocations: 0.8135 MB / 0.7173 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003578/0.2128, allocations: 1.434 MB / 0.7187 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006284/0.2191, allocations: 5.785 MB / 0.7244 GB, free: 4.41 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008434/0.2276, allocations: 5.595 MB / 0.7298 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002687/0.2303, allocations: 1.382 MB / 0.7312 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003581/0.2339, allocations: 2.037 MB / 0.7332 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0006186/0.2345, allocations: 260 kB / 0.7334 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00188/0.2364, allocations: 0.8659 MB / 0.7343 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001548/0.238, allocations: 1.38 MB / 0.7356 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001707/0.2397, allocations: 1.4 MB / 0.737 GB, free: 7.41 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00547/0.2452, allocations: 5.481 MB / 0.7423 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 9.358e-06/0.2452, allocations: 7.922 kB / 0.7423 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.224e-06/0.2452, allocations: 0 / 0.7423 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001097/0.2453, allocations: 4 kB / 0.7424 GB, free: 1.902 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.005405/0.2507, allocations: 2.726 MB / 0.745 GB, free: 15.12 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.2508, allocations: 8.031 kB / 0.745 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005063/0.2558, allocations: 0.907 MB / 0.7459 GB, free: 14.2 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00264/0.2585, allocations: 1.411 MB / 0.7473 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001568/0.2587, allocations: 193.5 kB / 0.7475 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004385/0.2591, allocations: 256.3 kB / 0.7477 GB, free: 12.3 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007981/0.2671, allocations: 4.654 MB / 0.7523 GB, free: 7.449 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.74e-05/0.2672, allocations: 7.938 kB / 0.7523 GB, free: 7.441 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002914/0.2675, allocations: 108 kB / 0.7524 GB, free: 7.336 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002187/0.2677, allocations: 176.3 kB / 0.7525 GB, free: 7.164 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006933/0.2746, allocations: 3.928 MB / 0.7564 GB, free: 3.227 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3206/0.5953, allocations: 21.53 MB / 0.7774 GB, free: 48.37 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002363/0.5977, allocations: 2.25 MB / 0.7796 GB, free: 46.71 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001072/0.5988, allocations: 0.7284 MB / 0.7803 GB, free: 46.45 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.79e-05/0.5988, allocations: 19.38 kB / 0.7803 GB, free: 46.44 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.5989, allocations: 45.61 kB / 0.7804 GB, free: 46.39 MB / 0.545 GB Notification: Performance of pre-optimization done (n=62): time 3.045e-06/0.5989, allocations: 0.9375 kB / 0.7804 GB, free: 46.39 MB / 0.545 GB Notification: Performance of matching and sorting (n=68): time 0.007312/0.6062, allocations: 4.192 MB / 0.7845 GB, free: 43.84 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.798e-05/0.6063, allocations: 245.3 kB / 0.7847 GB, free: 43.55 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001883/0.6082, allocations: 1.171 MB / 0.7858 GB, free: 43.08 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.576e-05/0.6083, allocations: 40.59 kB / 0.7859 GB, free: 43.04 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006259/0.6089, allocations: 1.183 MB / 0.787 GB, free: 42.13 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001898/0.6091, allocations: 252.1 kB / 0.7873 GB, free: 41.95 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004855/0.6096, allocations: 338.3 kB / 0.7876 GB, free: 41.79 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.832e-05/0.6097, allocations: 347.9 kB / 0.7879 GB, free: 41.47 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001234/0.6109, allocations: 0.7523 MB / 0.7887 GB, free: 41.22 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001538/0.6125, allocations: 1.444 MB / 0.7901 GB, free: 40.04 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002414/0.6149, allocations: 2.192 MB / 0.7922 GB, free: 38.48 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.167e-05/0.6149, allocations: 6.406 kB / 0.7922 GB, free: 38.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003765/0.6187, allocations: 2.268 MB / 0.7944 GB, free: 37.63 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.44e-05/0.6187, allocations: 15.38 kB / 0.7945 GB, free: 37.63 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.062e-05/0.6188, allocations: 29.73 kB / 0.7945 GB, free: 37.63 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.544e-05/0.6188, allocations: 37.44 kB / 0.7945 GB, free: 37.62 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001681/0.6205, allocations: 449 kB / 0.7949 GB, free: 37.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.703e-05/0.6206, allocations: 50.39 kB / 0.795 GB, free: 37.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001808/0.6224, allocations: 234.8 kB / 0.7952 GB, free: 37.53 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/0.6225, allocations: 90.62 kB / 0.7953 GB, free: 37.51 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002219/0.6248, allocations: 1.581 MB / 0.7968 GB, free: 36.91 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001341/0.6261, allocations: 1.366 MB / 0.7982 GB, free: 35.73 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001948/0.6281, allocations: 2.019 MB / 0.8002 GB, free: 34.12 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.604e-05/0.6281, allocations: 8 kB / 0.8002 GB, free: 34.12 MB / 0.545 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.003196/0.6313, allocations: 2.064 MB / 0.8022 GB, free: 33.06 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.6313, allocations: 19.61 kB / 0.8022 GB, free: 33.06 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.412e-05/0.6314, allocations: 27.34 kB / 0.8022 GB, free: 33.06 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.001e-05/0.6314, allocations: 34.03 kB / 0.8023 GB, free: 33.06 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/0.6328, allocations: 408.5 kB / 0.8026 GB, free: 32.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.052e-05/0.6328, allocations: 54.95 kB / 0.8027 GB, free: 32.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001597/0.6344, allocations: 196 kB / 0.8029 GB, free: 32.83 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/0.6346, allocations: 84.8 kB / 0.803 GB, free: 32.82 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * 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 (192): * Single equations (assignments): 192 * 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.0004302/0.635, allocations: 286.3 kB / 0.8032 GB, free: 32.55 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003059/0.6353, allocations: 106 kB / 0.8033 GB, free: 32.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001567/0.6369, allocations: 1.087 MB / 0.8044 GB, free: 31.88 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/0.6369, allocations: 21.2 kB / 0.8044 GB, free: 31.86 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/0.6369, allocations: 2.25 kB / 0.8044 GB, free: 31.86 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.6369, allocations: 2.25 kB / 0.8044 GB, free: 31.86 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01111/0.6481, allocations: 10.21 MB / 0.8144 GB, free: 25.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.495e-05/0.6481, allocations: 23.58 kB / 0.8144 GB, free: 25.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005952/0.6487, allocations: 185.5 kB / 0.8146 GB, free: 25.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.657e-05/0.6487, allocations: 23.75 kB / 0.8146 GB, free: 25.53 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.762e-05/0.6488, allocations: 39.77 kB / 0.8147 GB, free: 25.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.496e-05/0.6488, allocations: 27.38 kB / 0.8147 GB, free: 25.51 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-05/0.6488, allocations: 20.22 kB / 0.8147 GB, free: 25.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001665/0.6505, allocations: 2.154 MB / 0.8168 GB, free: 23.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004236/0.6509, allocations: 330.5 kB / 0.8171 GB, free: 23.45 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001577/0.6511, allocations: 42.73 kB / 0.8172 GB, free: 23.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/0.6522, allocations: 112.8 kB / 0.8173 GB, free: 23.38 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/0.6524, allocations: 98.75 kB / 0.8174 GB, free: 23.31 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.158e-05/0.6524, allocations: 44.34 kB / 0.8174 GB, free: 23.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001027/0.6534, allocations: 0.8087 MB / 0.8182 GB, free: 22.84 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6535, allocations: 3.938 kB / 0.8182 GB, free: 22.84 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002989/0.6564, allocations: 0.7405 MB / 0.8189 GB, free: 22.78 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * 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 (74): * Single equations (assignments): 74 * 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.0001945/0.6567, allocations: 151.2 kB / 0.8191 GB, free: 22.66 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003462/0.6601, allocations: 2.576 MB / 0.8216 GB, free: 21.14 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.6601, allocations: 4 kB / 0.8216 GB, free: 21.14 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005983/0.6607, allocations: 0.5694 MB / 0.8221 GB, free: 20.57 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001899/0.6627, allocations: 248 kB / 0.8224 GB, free: 20.34 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005624/0.6683, allocations: 5.483 MB / 0.8277 GB, free: 14.62 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001363/0.6697, allocations: 2.015 MB / 0.8297 GB, free: 12.57 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002082/0.6718, allocations: 0.882 MB / 0.8306 GB, free: 11.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003063/0.6721, allocations: 87.41 kB / 0.8306 GB, free: 11.61 MB / 0.545 GB Notification: Performance of SimCode: time 5.91e-07/0.6721, allocations: 0 / 0.8306 GB, free: 11.61 MB / 0.545 GB Notification: Performance of Templates: time 0.02314/0.6952, allocations: 14.7 MB / 0.845 GB, free: 13.09 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)