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.001404/0.001404, 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.00177/0.00177, allocations: 190.2 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.577/1.577, allocations: 205.1 MB / 222 MB, free: 4.77 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.738/1.738, allocations: 251.6 MB / 0.5088 GB, free: 3.34 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.001622/0.001622, allocations: 63.91 kB / 0.6216 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5638/0.5654, allocations: 104.7 MB / 0.7238 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.01855/0.584, allocations: 16.63 MB / 0.7401 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01092/0.595, allocations: 6.326 MB / 0.7462 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002231/0.5972, allocations: 43.81 kB / 0.7463 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003968/0.6012, allocations: 1.198 MB / 0.7474 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002916/0.6042, allocations: 0.7979 MB / 0.7482 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004991/0.6092, allocations: 1.42 MB / 0.7496 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006827/0.616, allocations: 5.782 MB / 0.7553 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008315/0.6244, allocations: 5.598 MB / 0.7607 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002569/0.627, allocations: 1.378 MB / 0.7621 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003223/0.6302, allocations: 2.033 MB / 0.7641 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005677/0.6308, allocations: 260 kB / 0.7643 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001813/0.6327, allocations: 0.8385 MB / 0.7651 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001336/0.634, allocations: 1.38 MB / 0.7665 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001564/0.6356, allocations: 1.4 MB / 0.7678 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004557/0.6401, allocations: 5.461 MB / 0.7732 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.6402, allocations: 0 / 0.7732 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6402, allocations: 0 / 0.7732 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001183/0.6403, allocations: 3.938 kB / 0.7732 GB, free: 10.42 MB / 0.5919 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.005512/0.6458, allocations: 2.726 MB / 0.7758 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.6459, allocations: 12.03 kB / 0.7758 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003797/0.6497, allocations: 0.7704 MB / 0.7766 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002645/0.6524, allocations: 1.407 MB / 0.778 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001387/0.6525, allocations: 193.5 kB / 0.7782 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004974/0.653, allocations: 252.4 kB / 0.7784 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008152/0.6612, allocations: 4.584 MB / 0.7829 GB, free: 184 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.287e-05/0.6613, allocations: 11.94 kB / 0.7829 GB, free: 172 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002854/0.6616, allocations: 108 kB / 0.783 GB, free: 64 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002169/0.6618, allocations: 176.3 kB / 0.7832 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006413/0.6682, allocations: 3.837 MB / 0.7869 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02639/0.6947, allocations: 21.41 MB / 0.8078 GB, free: 4.727 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002477/0.6972, allocations: 2.249 MB / 0.81 GB, free: 2.184 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009899/0.6982, allocations: 0.7213 MB / 0.8107 GB, free: 1.441 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.216e-05/0.6982, allocations: 15.86 kB / 0.8107 GB, free: 1.426 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.894e-05/0.6983, allocations: 58.53 kB / 0.8108 GB, free: 1.359 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=62): time 2.544e-06/0.6983, allocations: 0 / 0.8108 GB, free: 1.359 MB / 0.6231 GB Notification: Performance of matching and sorting (n=68): time 0.005999/0.7043, allocations: 4.193 MB / 0.8149 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001327/0.7045, allocations: 244.4 kB / 0.8151 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001476/0.706, allocations: 1.112 MB / 0.8162 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.599e-05/0.7061, allocations: 37.7 kB / 0.8162 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000757/0.7068, allocations: 1.187 MB / 0.8174 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002273/0.7071, allocations: 252.6 kB / 0.8176 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004701/0.7075, allocations: 335 kB / 0.818 GB, free: 9.852 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.7077, allocations: 341.9 kB / 0.8183 GB, free: 9.512 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009575/0.7086, allocations: 0.7113 MB / 0.819 GB, free: 8.797 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001364/0.71, allocations: 1.407 MB / 0.8203 GB, free: 7.059 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00237/0.7124, allocations: 2.157 MB / 0.8225 GB, free: 4.57 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/0.7124, allocations: 8 kB / 0.8225 GB, free: 4.562 MB / 0.6387 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003323/0.7157, allocations: 2.176 MB / 0.8246 GB, free: 2.379 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.436e-05/0.7158, allocations: 16.12 kB / 0.8246 GB, free: 2.363 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-05/0.7158, allocations: 28 kB / 0.8246 GB, free: 2.336 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.698e-05/0.7159, allocations: 36 kB / 0.8247 GB, free: 2.301 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001452/0.7174, allocations: 431.2 kB / 0.8251 GB, free: 1.879 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.56e-05/0.7174, allocations: 47.8 kB / 0.8251 GB, free: 1.832 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/0.7186, allocations: 191.3 kB / 0.8253 GB, free: 1.645 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/0.7188, allocations: 79.98 kB / 0.8254 GB, free: 1.566 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002303/0.7211, allocations: 1.554 MB / 0.8269 GB, free: 8 kB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001189/0.7223, allocations: 1.325 MB / 0.8282 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001986/0.7243, allocations: 1.976 MB / 0.8301 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.196e-05/0.7243, allocations: 8 kB / 0.8301 GB, free: 12 MB / 0.6544 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.002964/0.7273, allocations: 1.984 MB / 0.8321 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.7273, allocations: 19.94 kB / 0.8321 GB, free: 9.988 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.377e-05/0.7273, allocations: 27.98 kB / 0.8321 GB, free: 9.961 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.039e-05/0.7274, allocations: 39.94 kB / 0.8322 GB, free: 9.922 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001218/0.7286, allocations: 391.3 kB / 0.8325 GB, free: 9.539 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.919e-05/0.7286, allocations: 47.8 kB / 0.8326 GB, free: 9.492 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/0.7298, allocations: 155.7 kB / 0.8327 GB, free: 9.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.7299, allocations: 87.98 kB / 0.8328 GB, free: 9.254 MB / 0.6544 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.0003917/0.7303, allocations: 291.9 kB / 0.8331 GB, free: 8.961 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002979/0.7306, allocations: 106.7 kB / 0.8332 GB, free: 8.855 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001541/0.7321, allocations: 1.09 MB / 0.8342 GB, free: 7.758 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.7321, allocations: 16 kB / 0.8343 GB, free: 7.742 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.7322, allocations: 4 kB / 0.8343 GB, free: 7.738 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.7322, allocations: 7.984 kB / 0.8343 GB, free: 7.73 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01299/0.7452, allocations: 10.18 MB / 0.8442 GB, free: 13.29 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.717e-05/0.7452, allocations: 12 kB / 0.8442 GB, free: 13.28 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000668/0.7459, allocations: 187.7 kB / 0.8444 GB, free: 13.09 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.116e-05/0.7459, allocations: 20 kB / 0.8444 GB, free: 13.07 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.676e-05/0.746, allocations: 36 kB / 0.8445 GB, free: 13.04 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.451e-05/0.7461, allocations: 31.86 kB / 0.8445 GB, free: 13.01 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.547e-05/0.7461, allocations: 23.94 kB / 0.8445 GB, free: 12.98 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002386/0.7485, allocations: 2.162 MB / 0.8466 GB, free: 10.61 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005787/0.7491, allocations: 316 kB / 0.8469 GB, free: 10.28 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001624/0.7492, allocations: 39.98 kB / 0.847 GB, free: 10.24 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009326/0.7502, allocations: 87.88 kB / 0.847 GB, free: 10.15 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/0.7503, allocations: 107.5 kB / 0.8471 GB, free: 10.05 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.478e-05/0.7504, allocations: 40 kB / 0.8472 GB, free: 10.01 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001107/0.7515, allocations: 0.7658 MB / 0.8479 GB, free: 9.23 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7515, allocations: 4 kB / 0.8479 GB, free: 9.227 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003378/0.7549, allocations: 0.7266 MB / 0.8486 GB, free: 8.5 MB / 0.67 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.0002506/0.7552, allocations: 154.8 kB / 0.8488 GB, free: 8.336 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003692/0.7589, allocations: 2.475 MB / 0.8512 GB, free: 5.871 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.769e-06/0.7589, allocations: 0 / 0.8512 GB, free: 5.871 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008228/0.7597, allocations: 0.5733 MB / 0.8518 GB, free: 5.301 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00226/0.762, allocations: 247.6 kB / 0.852 GB, free: 5.062 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008353/0.7703, allocations: 5.493 MB / 0.8574 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001879/0.7723, allocations: 2.011 MB / 0.8593 GB, free: 13.28 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002142/0.7744, allocations: 0.8599 MB / 0.8602 GB, free: 12.42 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002975/0.7747, allocations: 83.42 kB / 0.8603 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of SimCode: time 8.92e-07/0.7747, allocations: 0 / 0.8603 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of Templates: time 0.0234/0.7982, allocations: 13.86 MB / 0.8738 GB, free: 14.6 MB / 0.7012 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.makefile (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)