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 1.837/1.837, allocations: 287.5 MB / 302.6 MB, free: 8.23 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.001066/0.001066, allocations: 184.5 kB / 371.2 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.669/1.669, allocations: 205.4 MB / 0.6298 GB, free: 10.59 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.0008423/0.0008424, allocations: 86.28 kB / 0.7432 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003849/0.0003849, allocations: 15.64 kB / 0.8661 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.223, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.01333/0.2364, allocations: 15.16 MB / 0.9935 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.008574/0.245, allocations: 5.973 MB / 0.9993 GB, free: 7.004 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001727/0.2468, allocations: 47.75 kB / 0.9994 GB, free: 6.957 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001198/0.248, allocations: 305.7 kB / 0.9997 GB, free: 6.656 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002265/0.2503, allocations: 0.6535 MB / 1 GB, free: 6 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002794/0.2531, allocations: 0.8122 MB / 1.001 GB, free: 5.188 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.004223/0.2573, allocations: 4.474 MB / 1.005 GB, free: 0.7031 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009543/0.2669, allocations: 6.079 MB / 1.011 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002493/0.2694, allocations: 1.148 MB / 1.013 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003283/0.2727, allocations: 1.682 MB / 1.014 GB, free: 7.703 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0007618/0.2735, allocations: 160 kB / 1.014 GB, free: 7.547 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001731/0.2752, allocations: 391.6 kB / 1.015 GB, free: 7.164 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001496/0.2767, allocations: 1.22 MB / 1.016 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.00075/0.2775, allocations: 0.5005 MB / 1.016 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004379/0.2819, allocations: 4.632 MB / 1.021 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.2819, allocations: 0 / 1.021 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.364e-06/0.2819, allocations: 4 kB / 1.021 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.064e-05/0.282, allocations: 0 / 1.021 GB, free: 0.7852 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.004067/0.2861, allocations: 2.199 MB / 1.023 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.2861, allocations: 11.97 kB / 1.023 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003396/0.2895, allocations: 0.7978 MB / 1.024 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002398/0.292, allocations: 1.404 MB / 1.025 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001345/0.2921, allocations: 193.5 kB / 1.025 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004103/0.2925, allocations: 256.3 kB / 1.026 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007064/0.2996, allocations: 4.568 MB / 1.03 GB, free: 7.059 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.83e-05/0.2997, allocations: 7.938 kB / 1.03 GB, free: 7.051 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002533/0.3, allocations: 112 kB / 1.03 GB, free: 6.941 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001994/0.3002, allocations: 180.2 kB / 1.03 GB, free: 6.766 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006217/0.3064, allocations: 3.811 MB / 1.034 GB, free: 2.945 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02313/0.3295, allocations: 21.43 MB / 1.055 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002596/0.3322, allocations: 2.256 MB / 1.057 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001044/0.3333, allocations: 0.7196 MB / 1.058 GB, free: 8.324 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.224e-05/0.3333, allocations: 11.98 kB / 1.058 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.3334, allocations: 50.36 kB / 1.058 GB, free: 8.254 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=62): time 3.026e-06/0.3334, allocations: 0 / 1.058 GB, free: 8.254 MB / 0.6823 GB Notification: Performance of matching and sorting (n=68): time 0.005469/0.3388, allocations: 4.185 MB / 1.062 GB, free: 4.016 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/0.339, allocations: 251.3 kB / 1.062 GB, free: 3.715 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001552/0.3405, allocations: 1.096 MB / 1.063 GB, free: 2.594 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.711e-05/0.3406, allocations: 41.7 kB / 1.063 GB, free: 2.547 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008368/0.3415, allocations: 1.187 MB / 1.065 GB, free: 1.34 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002393/0.3417, allocations: 260.5 kB / 1.065 GB, free: 1.082 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.818e-05/0.3418, allocations: 32 kB / 1.065 GB, free: 1.051 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002252/0.342, allocations: 414.7 kB / 1.065 GB, free: 0.6367 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.5169/0.859, allocations: 0.6861 MB / 1.066 GB, free: 83.75 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002057/0.8611, allocations: 1.396 MB / 1.067 GB, free: 82.88 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002821/0.8639, allocations: 2.152 MB / 1.069 GB, free: 81.61 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.026e-05/0.8639, allocations: 7.75 kB / 1.069 GB, free: 81.61 MB / 0.6823 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.004163/0.8681, allocations: 2.166 MB / 1.072 GB, free: 80.83 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005881/0.8687, allocations: 0.789 MB / 1.072 GB, free: 79.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.965e-05/0.8688, allocations: 24.69 kB / 1.072 GB, free: 79.77 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.7e-05/0.8689, allocations: 33.47 kB / 1.072 GB, free: 79.77 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001686/0.8705, allocations: 432.9 kB / 1.073 GB, free: 79.72 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.351e-05/0.8706, allocations: 45.62 kB / 1.073 GB, free: 79.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/0.872, allocations: 191.5 kB / 1.073 GB, free: 79.69 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001622/0.8721, allocations: 85.14 kB / 1.073 GB, free: 79.68 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.839e-06/0.8721, allocations: 3.875 kB / 1.073 GB, free: 79.68 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003055/0.8752, allocations: 1.839 MB / 1.075 GB, free: 78.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.876e-05/0.8753, allocations: 27.5 kB / 1.075 GB, free: 78.98 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.657e-05/0.8753, allocations: 34.41 kB / 1.075 GB, free: 78.98 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001338/0.8767, allocations: 390.6 kB / 1.075 GB, free: 78.94 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.948e-05/0.8767, allocations: 50.34 kB / 1.075 GB, free: 78.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009794/0.8777, allocations: 135 kB / 1.075 GB, free: 78.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001451/0.8779, allocations: 82.72 kB / 1.076 GB, free: 78.89 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.002089/0.88, allocations: 1.138 MB / 1.077 GB, free: 78.33 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003966/0.8804, allocations: 102.4 kB / 1.077 GB, free: 78.33 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002046/0.8824, allocations: 1.101 MB / 1.078 GB, free: 77.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.681e-05/0.8825, allocations: 9.031 kB / 1.078 GB, free: 77.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/0.8825, allocations: 2.25 kB / 1.078 GB, free: 77.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/0.8825, allocations: 8.766 kB / 1.078 GB, free: 77.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01713/0.8996, allocations: 10.18 MB / 1.088 GB, free: 73.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-05/0.8998, allocations: 14.75 kB / 1.088 GB, free: 73.67 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008673/0.9006, allocations: 193.1 kB / 1.088 GB, free: 73.65 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.874e-05/0.9007, allocations: 24.7 kB / 1.088 GB, free: 73.65 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-05/0.9008, allocations: 31.42 kB / 1.088 GB, free: 73.64 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.861e-05/0.9008, allocations: 31.03 kB / 1.088 GB, free: 73.64 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-05/0.9009, allocations: 25.25 kB / 1.088 GB, free: 73.63 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002503/0.9034, allocations: 2.154 MB / 1.09 GB, free: 72.05 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006065/0.904, allocations: 341.2 kB / 1.091 GB, free: 71.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001574/0.9042, allocations: 33.81 kB / 1.091 GB, free: 71.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00133/0.9055, allocations: 97.25 kB / 1.091 GB, free: 71.87 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001648/0.9057, allocations: 101.7 kB / 1.091 GB, free: 71.82 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.132e-05/0.9057, allocations: 37.69 kB / 1.091 GB, free: 71.82 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001398/0.9072, allocations: 0.7591 MB / 1.092 GB, free: 71.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.71e-07/0.9072, allocations: 0 / 1.092 GB, free: 71.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003472/0.9106, allocations: 0.7268 MB / 1.092 GB, free: 71.45 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.0002405/0.9109, allocations: 152.9 kB / 1.092 GB, free: 71.32 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004081/0.915, allocations: 2.463 MB / 1.095 GB, free: 70.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.915, allocations: 4.906 kB / 1.095 GB, free: 70.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008991/0.9159, allocations: 0.5623 MB / 1.095 GB, free: 70.31 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003674/0.9196, allocations: 241.9 kB / 1.096 GB, free: 70.24 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008246/0.9279, allocations: 5.308 MB / 1.101 GB, free: 67.06 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002356/0.9302, allocations: 2.011 MB / 1.103 GB, free: 66.04 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002425/0.9327, allocations: 0.8539 MB / 1.104 GB, free: 65.99 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002951/0.933, allocations: 85.17 kB / 1.104 GB, free: 65.98 MB / 0.6823 GB Notification: Performance of SimCode: time 1.292e-06/0.933, allocations: 0 / 1.104 GB, free: 65.98 MB / 0.6823 GB Notification: Performance of Templates: time 0.02544/0.9584, allocations: 13.41 MB / 1.117 GB, free: 60.55 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)