Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.001045/0.001045, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001308/0.001308, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.573/1.573, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.581/1.581, allocations: 252 MB / 0.5102 GB, free: 4.824 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005393/0.0005403, allocations: 12 kB / 0.6243 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5714/0.572, allocations: 106.3 MB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.01739/0.5894, allocations: 15.17 MB / 0.7429 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01086/0.6004, allocations: 5.973 MB / 0.7488 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002334/0.6028, allocations: 39.88 kB / 0.7488 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001074/0.6039, allocations: 309.7 kB / 0.7491 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002511/0.6064, allocations: 0.6574 MB / 0.7498 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003169/0.6096, allocations: 0.8144 MB / 0.7505 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005596/0.6152, allocations: 4.427 MB / 0.7549 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008185/0.6234, allocations: 5.247 MB / 0.76 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002473/0.6259, allocations: 1.156 MB / 0.7611 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003014/0.6289, allocations: 1.682 MB / 0.7628 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004991/0.6295, allocations: 160 kB / 0.7629 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001259/0.6307, allocations: 391.6 kB / 0.7633 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001349/0.6321, allocations: 1.228 MB / 0.7645 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006931/0.6328, allocations: 0.5005 MB / 0.765 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004737/0.6375, allocations: 4.627 MB / 0.7695 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.6376, allocations: 3.938 kB / 0.7695 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.515e-06/0.6376, allocations: 0 / 0.7695 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001425/0.6377, allocations: 0 / 0.7695 GB, free: 0.8828 MB / 0.5762 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.004947/0.6427, allocations: 2.223 MB / 0.7717 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.6427, allocations: 12.03 kB / 0.7717 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003834/0.6466, allocations: 0.8047 MB / 0.7725 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002609/0.6492, allocations: 1.391 MB / 0.7738 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001458/0.6494, allocations: 197.1 kB / 0.774 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004577/0.6499, allocations: 244 kB / 0.7743 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007859/0.6577, allocations: 4.561 MB / 0.7787 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.561e-05/0.6578, allocations: 11.94 kB / 0.7787 GB, free: 7.141 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002867/0.6581, allocations: 115.9 kB / 0.7788 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000206/0.6583, allocations: 172.3 kB / 0.779 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006812/0.6652, allocations: 3.816 MB / 0.7827 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02498/0.6902, allocations: 21.43 MB / 0.8036 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00243/0.6927, allocations: 2.242 MB / 0.8058 GB, free: 9.168 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009898/0.6937, allocations: 0.7165 MB / 0.8065 GB, free: 8.43 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.109e-05/0.6937, allocations: 19.92 kB / 0.8066 GB, free: 8.41 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.6938, allocations: 46.5 kB / 0.8066 GB, free: 8.355 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=62): time 2.285e-06/0.6938, allocations: 0 / 0.8066 GB, free: 8.355 MB / 0.6231 GB Notification: Performance of matching and sorting (n=68): time 0.005569/0.6993, allocations: 4.189 MB / 0.8107 GB, free: 4.117 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.6995, allocations: 243.3 kB / 0.8109 GB, free: 3.824 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001351/0.7008, allocations: 1.105 MB / 0.812 GB, free: 2.695 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.479e-05/0.7009, allocations: 41.7 kB / 0.812 GB, free: 2.648 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007227/0.7017, allocations: 1.187 MB / 0.8132 GB, free: 1.441 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002083/0.7019, allocations: 256.7 kB / 0.8134 GB, free: 1.188 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.524e-05/0.702, allocations: 32 kB / 0.8135 GB, free: 1.156 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001853/0.7022, allocations: 410.7 kB / 0.8139 GB, free: 0.7461 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009728/0.7031, allocations: 0.6947 MB / 0.8145 GB, free: 52 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001389/0.7045, allocations: 1.387 MB / 0.8159 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/0.7058, allocations: 0.9828 MB / 0.8169 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-05/0.7058, allocations: 8 kB / 0.8169 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003029/0.7088, allocations: 2.167 MB / 0.819 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005864/0.7094, allocations: 0.7922 MB / 0.8198 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.79e-05/0.7095, allocations: 24 kB / 0.8198 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.043e-05/0.7095, allocations: 36 kB / 0.8198 GB, free: 9.98 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/0.7109, allocations: 431.2 kB / 0.8202 GB, free: 9.559 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.312e-05/0.711, allocations: 51.78 kB / 0.8203 GB, free: 9.508 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/0.7122, allocations: 195.4 kB / 0.8205 GB, free: 9.316 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001415/0.7124, allocations: 79.98 kB / 0.8205 GB, free: 9.238 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 8.596e-06/0.7124, allocations: 4 kB / 0.8205 GB, free: 9.234 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002656/0.715, allocations: 1.844 MB / 0.8223 GB, free: 7.391 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.686e-05/0.7151, allocations: 24 kB / 0.8224 GB, free: 7.367 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.638e-05/0.7151, allocations: 40.09 kB / 0.8224 GB, free: 7.328 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/0.7163, allocations: 395.2 kB / 0.8228 GB, free: 6.941 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.556e-05/0.7164, allocations: 43.86 kB / 0.8228 GB, free: 6.898 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000859/0.7172, allocations: 131.5 kB / 0.8229 GB, free: 6.77 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/0.7174, allocations: 83.98 kB / 0.823 GB, free: 6.688 MB / 0.6387 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001739/0.7191, allocations: 1.14 MB / 0.8241 GB, free: 5.535 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003382/0.7194, allocations: 102.8 kB / 0.8242 GB, free: 5.434 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001658/0.7211, allocations: 1.09 MB / 0.8253 GB, free: 4.336 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.7211, allocations: 15.94 kB / 0.8253 GB, free: 4.32 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.7211, allocations: 0 / 0.8253 GB, free: 4.32 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.7212, allocations: 7.984 kB / 0.8253 GB, free: 4.312 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01294/0.7341, allocations: 10.17 MB / 0.8353 GB, free: 9.875 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-05/0.7342, allocations: 19.95 kB / 0.8353 GB, free: 9.855 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007601/0.735, allocations: 187.7 kB / 0.8355 GB, free: 9.672 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.439e-05/0.7351, allocations: 24.03 kB / 0.8355 GB, free: 9.648 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.548e-05/0.7351, allocations: 32 kB / 0.8355 GB, free: 9.617 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.012e-05/0.7352, allocations: 31.86 kB / 0.8355 GB, free: 9.586 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.78e-05/0.7352, allocations: 27.81 kB / 0.8356 GB, free: 9.559 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002647/0.7379, allocations: 2.154 MB / 0.8377 GB, free: 7.188 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009829/0.7389, allocations: 339.5 kB / 0.838 GB, free: 6.836 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004705/0.7394, allocations: 35.98 kB / 0.838 GB, free: 6.801 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001372/0.7407, allocations: 95.88 kB / 0.8381 GB, free: 6.707 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/0.7409, allocations: 103.5 kB / 0.8382 GB, free: 6.605 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-05/0.741, allocations: 36 kB / 0.8383 GB, free: 6.57 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001345/0.7423, allocations: 0.762 MB / 0.839 GB, free: 5.797 MB / 0.6544 GB Notification: Performance of sort global known variables: time 4.31e-07/0.7423, allocations: 0 / 0.839 GB, free: 5.797 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.003906/0.7463, allocations: 0.7227 MB / 0.8397 GB, free: 5.074 MB / 0.6544 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004947/0.7468, allocations: 146.9 kB / 0.8398 GB, free: 4.922 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004749/0.7515, allocations: 2.461 MB / 0.8422 GB, free: 2.469 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.299e-05/0.7516, allocations: 4.25 kB / 0.8422 GB, free: 2.465 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009352/0.7525, allocations: 0.5689 MB / 0.8428 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002671/0.7552, allocations: 246.2 kB / 0.843 GB, free: 1.66 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009128/0.7643, allocations: 5.297 MB / 0.8482 GB, free: 12.12 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002534/0.7669, allocations: 2.007 MB / 0.8502 GB, free: 10.07 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002383/0.7693, allocations: 0.8519 MB / 0.851 GB, free: 9.219 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003956/0.7698, allocations: 87.41 kB / 0.8511 GB, free: 9.133 MB / 0.67 GB Notification: Performance of SimCode: time 1.092e-06/0.7698, allocations: 0 / 0.8511 GB, free: 9.133 MB / 0.67 GB Notification: Performance of Templates: time 0.0258/0.7956, allocations: 13.42 MB / 0.8642 GB, free: 11.84 MB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) Environment - environmentSimulation: