Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.913/2.913, allocations: 287.5 MB / 302.4 MB, free: 8.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002187/0.002187, allocations: 194.2 kB / 371 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.133/2.133, allocations: 205.4 MB / 0.6297 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001015/0.001014, allocations: 84.25 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007725/0.0007732, allocations: 12.41 kB / 0.8658 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.239, allocations: 115.3 MB / 0.9784 GB, free: 28.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.02853/0.2676, allocations: 15.16 MB / 0.9932 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01331/0.2809, allocations: 5.969 MB / 0.999 GB, free: 7.16 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001814/0.2828, allocations: 39.88 kB / 0.999 GB, free: 7.121 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001459/0.2843, allocations: 309.7 kB / 0.9993 GB, free: 6.816 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002781/0.2871, allocations: 0.6535 MB / 1 GB, free: 6.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003772/0.291, allocations: 0.8139 MB / 1.001 GB, free: 5.348 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.006036/0.297, allocations: 4.435 MB / 1.005 GB, free: 0.9023 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01287/0.31, allocations: 5.252 MB / 1.01 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003098/0.3131, allocations: 1.152 MB / 1.011 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00438/0.3175, allocations: 1.686 MB / 1.013 GB, free: 8.75 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001078/0.3187, allocations: 160 kB / 1.013 GB, free: 8.594 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002333/0.321, allocations: 391.6 kB / 1.014 GB, free: 8.211 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.002768/0.3239, allocations: 1.22 MB / 1.015 GB, free: 6.988 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001431/0.3253, allocations: 0.4966 MB / 1.015 GB, free: 6.484 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.007724/0.3331, allocations: 4.633 MB / 1.02 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 9.468e-06/0.3332, allocations: 3.938 kB / 1.02 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.076e-06/0.3332, allocations: 0 / 1.02 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0002109/0.3334, allocations: 0 / 1.02 GB, free: 1.836 MB / 0.6355 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.008304/0.3417, allocations: 2.227 MB / 1.022 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.3418, allocations: 12.02 kB / 1.022 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006787/0.3486, allocations: 0.8007 MB / 1.023 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00556/0.3542, allocations: 1.375 MB / 1.024 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002836/0.3545, allocations: 197.1 kB / 1.024 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001086/0.3556, allocations: 255.9 kB / 1.024 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01567/0.3713, allocations: 4.561 MB / 1.029 GB, free: 8.109 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001182/0.3715, allocations: 15.84 kB / 1.029 GB, free: 8.094 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006043/0.3721, allocations: 115.9 kB / 1.029 GB, free: 7.98 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003704/0.3725, allocations: 176.3 kB / 1.029 GB, free: 7.809 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01151/0.384, allocations: 3.813 MB / 1.033 GB, free: 3.988 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03819/0.4223, allocations: 21.43 MB / 1.054 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004508/0.4268, allocations: 2.251 MB / 1.056 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001816/0.4287, allocations: 0.7136 MB / 1.057 GB, free: 9.379 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.874e-05/0.4288, allocations: 11.98 kB / 1.057 GB, free: 9.367 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.864e-05/0.4289, allocations: 54.36 kB / 1.057 GB, free: 9.305 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=62): time 4.038e-06/0.4289, allocations: 4 kB / 1.057 GB, free: 9.301 MB / 0.6823 GB Notification: Performance of matching and sorting (n=68): time 0.009571/0.4385, allocations: 4.18 MB / 1.061 GB, free: 5.066 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001527/0.4387, allocations: 244.4 kB / 1.061 GB, free: 4.773 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002307/0.441, allocations: 1.112 MB / 1.062 GB, free: 3.637 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001894/0.4412, allocations: 33.7 kB / 1.062 GB, free: 3.598 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001312/0.4426, allocations: 1.191 MB / 1.063 GB, free: 2.387 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004839/0.4431, allocations: 252.7 kB / 1.064 GB, free: 2.137 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001894/0.4433, allocations: 32 kB / 1.064 GB, free: 2.105 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000318/0.4436, allocations: 410.7 kB / 1.064 GB, free: 1.695 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001833/0.4455, allocations: 0.6948 MB / 1.065 GB, free: 1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.6301/1.076, allocations: 1.391 MB / 1.066 GB, free: 82.86 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002956/1.079, allocations: 0.9808 MB / 1.067 GB, free: 82.84 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-05/1.079, allocations: 7.312 kB / 1.067 GB, free: 82.84 MB / 0.6823 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.006466/1.085, allocations: 2.166 MB / 1.069 GB, free: 82.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005883/1.086, allocations: 0.7884 MB / 1.07 GB, free: 81.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.134e-05/1.086, allocations: 24.3 kB / 1.07 GB, free: 81.13 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.903e-05/1.086, allocations: 41.25 kB / 1.07 GB, free: 81.13 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003231/1.089, allocations: 430.3 kB / 1.07 GB, free: 81.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.696e-05/1.089, allocations: 51.28 kB / 1.07 GB, free: 81.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002542/1.092, allocations: 187.5 kB / 1.071 GB, free: 81.05 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003065/1.092, allocations: 83.7 kB / 1.071 GB, free: 81.04 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.872e-05/1.092, allocations: 4.125 kB / 1.071 GB, free: 81.04 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005184/1.098, allocations: 1.844 MB / 1.073 GB, free: 80.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.337e-05/1.098, allocations: 24.34 kB / 1.073 GB, free: 80.34 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.204e-05/1.098, allocations: 41.2 kB / 1.073 GB, free: 80.34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0028/1.101, allocations: 388.5 kB / 1.073 GB, free: 80.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.391e-05/1.101, allocations: 50.2 kB / 1.073 GB, free: 80.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001886/1.103, allocations: 134.7 kB / 1.073 GB, free: 80.27 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002777/1.103, allocations: 85.62 kB / 1.073 GB, free: 80.26 MB / 0.6823 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.002993/1.106, allocations: 1.132 MB / 1.074 GB, free: 79.71 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005165/1.107, allocations: 104.5 kB / 1.074 GB, free: 79.71 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002923/1.109, allocations: 1.094 MB / 1.076 GB, free: 79.29 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.722e-05/1.11, allocations: 8.875 kB / 1.076 GB, free: 79.29 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.595e-05/1.11, allocations: 6.781 kB / 1.076 GB, free: 79.29 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.073e-05/1.11, allocations: 8.656 kB / 1.076 GB, free: 79.28 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0232/1.133, allocations: 10.17 MB / 1.085 GB, free: 75.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.418e-05/1.133, allocations: 15.97 kB / 1.085 GB, free: 75.06 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001428/1.134, allocations: 190.4 kB / 1.086 GB, free: 75.04 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.513e-05/1.134, allocations: 22.38 kB / 1.086 GB, free: 75.04 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001053/1.135, allocations: 31 kB / 1.086 GB, free: 75.03 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.7e-05/1.135, allocations: 31.09 kB / 1.086 GB, free: 75.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-05/1.135, allocations: 23.12 kB / 1.086 GB, free: 75.02 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003381/1.138, allocations: 2.151 MB / 1.088 GB, free: 73.44 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001023/1.139, allocations: 335.8 kB / 1.088 GB, free: 73.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003111/1.139, allocations: 37.97 kB / 1.088 GB, free: 73.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001959/1.141, allocations: 97.28 kB / 1.088 GB, free: 73.26 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003201/1.142, allocations: 98.78 kB / 1.088 GB, free: 73.21 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/1.142, allocations: 41.69 kB / 1.088 GB, free: 73.21 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001866/1.144, allocations: 0.7617 MB / 1.089 GB, free: 72.89 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.665e-06/1.144, allocations: 1.469 kB / 1.089 GB, free: 72.89 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.006024/1.15, allocations: 0.7296 MB / 1.09 GB, free: 72.83 MB / 0.6823 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.0004706/1.15, allocations: 149.5 kB / 1.09 GB, free: 72.71 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006141/1.157, allocations: 2.46 MB / 1.092 GB, free: 71.89 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-05/1.157, allocations: 1.844 kB / 1.092 GB, free: 71.89 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001493/1.158, allocations: 0.5686 MB / 1.093 GB, free: 71.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003173/1.161, allocations: 238.8 kB / 1.093 GB, free: 71.62 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01198/1.173, allocations: 5.306 MB / 1.098 GB, free: 68.44 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003629/1.177, allocations: 2.008 MB / 1.1 GB, free: 67.41 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.004041/1.181, allocations: 0.8535 MB / 1.101 GB, free: 67.37 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005987/1.182, allocations: 92.55 kB / 1.101 GB, free: 67.35 MB / 0.6823 GB Notification: Performance of SimCode: time 1.263e-06/1.182, allocations: 0 / 1.101 GB, free: 67.35 MB / 0.6823 GB Notification: Performance of Templates: time 0.04378/1.226, allocations: 13.41 MB / 1.114 GB, free: 62.1 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)