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.WindTurbine.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.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.001301/0.001302, allocations: 177.3 kB / 15.95 MB, free: 216 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.644/1.644, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.697/1.697, allocations: 251.9 MB / 0.51 GB, free: 4.797 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.0005297/0.0005297, allocations: 12 kB / 0.6241 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6473/0.6479, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine): time 0.02206/0.67, allocations: 18.66 MB / 0.7462 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.1782/0.8482, allocations: 134.4 MB / 0.8775 GB, free: 1.98 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002559/0.8508, allocations: 55.75 kB / 0.8775 GB, free: 1.926 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001796/0.8526, allocations: 0.5322 MB / 0.878 GB, free: 1.391 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.005673/0.8583, allocations: 1.558 MB / 0.8796 GB, free: 15.83 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.005015/0.8634, allocations: 1.556 MB / 0.8811 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.005217/0.8686, allocations: 2.65 MB / 0.8837 GB, free: 11.63 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008429/0.877, allocations: 5.732 MB / 0.8893 GB, free: 5.824 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002542/0.8796, allocations: 1.335 MB / 0.8906 GB, free: 4.484 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002179/0.8818, allocations: 1.416 MB / 0.8919 GB, free: 3.062 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0003765/0.8822, allocations: 168 kB / 0.8921 GB, free: 2.898 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001699/0.8839, allocations: 0.5658 MB / 0.8927 GB, free: 2.332 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001159/0.8851, allocations: 1.243 MB / 0.8939 GB, free: 1.086 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0007501/0.8858, allocations: 0.6951 MB / 0.8946 GB, free: 392 kB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.005516/0.8913, allocations: 5.649 MB / 0.9001 GB, free: 10.72 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.8914, allocations: 7.938 kB / 0.9001 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8914, allocations: 3.938 kB / 0.9001 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001585/0.8915, allocations: 0 / 0.9001 GB, free: 10.71 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.007558/0.8991, allocations: 3.302 MB / 0.9033 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.8992, allocations: 8.031 kB / 0.9033 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004463/0.9036, allocations: 0.8461 MB / 0.9041 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005908/0.9096, allocations: 2.34 MB / 0.9064 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001823/0.9098, allocations: 230.2 kB / 0.9066 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006138/0.9104, allocations: 307.9 kB / 0.9069 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5729/1.483, allocations: 4.69 MB / 0.9115 GB, free: 173.3 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001234/1.484, allocations: 3.109 kB / 0.9115 GB, free: 173.3 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004822/1.484, allocations: 132.6 kB / 0.9116 GB, free: 173.3 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005497/1.485, allocations: 217.7 kB / 0.9119 GB, free: 173.3 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01308/1.498, allocations: 4.295 MB / 0.916 GB, free: 171.9 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0343/1.532, allocations: 19.52 MB / 0.9351 GB, free: 156.3 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003202/1.535, allocations: 1.998 MB / 0.9371 GB, free: 155.2 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002712/1.536, allocations: 138.5 kB / 0.9372 GB, free: 155.1 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001619/1.537, allocations: 1.205 MB / 0.9384 GB, free: 154.4 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=160): time 3.145e-06/1.537, allocations: 0 / 0.9384 GB, free: 154.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=197): time 0.03265/1.57, allocations: 11.18 MB / 0.9493 GB, free: 145.7 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/1.57, allocations: 312.7 kB / 0.9496 GB, free: 145.3 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002717/1.573, allocations: 2.064 MB / 0.9516 GB, free: 143.2 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0005343/1.573, allocations: 57.7 kB / 0.9517 GB, free: 143.2 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.00111/1.574, allocations: 1.48 MB / 0.9531 GB, free: 141.7 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006665/1.575, allocations: 0.6622 MB / 0.9537 GB, free: 141 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/1.575, allocations: 36 kB / 0.9538 GB, free: 141 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001066/1.575, allocations: 381.9 kB / 0.9541 GB, free: 140.6 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001563/1.577, allocations: 1.156 MB / 0.9553 GB, free: 139.4 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001724/1.579, allocations: 1.598 MB / 0.9568 GB, free: 137.7 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001736/1.58, allocations: 1.396 MB / 0.9582 GB, free: 136.3 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/1.58, allocations: 4 kB / 0.9582 GB, free: 136.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=245) (initialization): time 0.01225/1.593, allocations: 5.111 MB / 0.9632 GB, free: 131.1 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008212/1.594, allocations: 3.747 MB / 0.9669 GB, free: 127.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/1.594, allocations: 12 kB / 0.9669 GB, free: 127.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009678/1.603, allocations: 2.449 MB / 0.9693 GB, free: 124.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002134/1.605, allocations: 455.3 kB / 0.9697 GB, free: 124.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0164/1.622, allocations: 14.65 MB / 0.984 GB, free: 108.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002707/1.625, allocations: 204.7 kB / 0.9842 GB, free: 108.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002388/1.625, allocations: 79.97 kB / 0.9843 GB, free: 108.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.277e-06/1.625, allocations: 7.984 kB / 0.9843 GB, free: 108.5 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009467/1.634, allocations: 4.142 MB / 0.9883 GB, free: 104.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.571e-05/1.634, allocations: 8 kB / 0.9883 GB, free: 104.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006342/1.641, allocations: 1.627 MB / 0.9899 GB, free: 102.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002121/1.643, allocations: 475.2 kB / 0.9904 GB, free: 102.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01059/1.653, allocations: 8.613 MB / 0.9988 GB, free: 93.21 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002559/1.656, allocations: 184.7 kB / 0.999 GB, free: 93.04 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002187/1.656, allocations: 79.97 kB / 0.999 GB, free: 92.96 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (227): * Single equations (assignments): 221 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 3 {2 2,2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.002566/1.659, allocations: 1.258 MB / 1 GB, free: 91.69 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005729/1.659, allocations: 237 kB / 1 GB, free: 91.45 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0118/1.671, allocations: 5.203 MB / 1.006 GB, free: 86.21 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.781e-05/1.671, allocations: 20 kB / 1.006 GB, free: 86.19 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/1.671, allocations: 3.984 kB / 1.006 GB, free: 86.19 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.604e-05/1.671, allocations: 7.969 kB / 1.006 GB, free: 86.18 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01825/1.69, allocations: 9.871 MB / 1.015 GB, free: 76.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.537e-05/1.69, allocations: 8 kB / 1.015 GB, free: 76.19 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001651/1.691, allocations: 387.4 kB / 1.016 GB, free: 75.81 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008629/1.7, allocations: 2.267 MB / 1.018 GB, free: 73.53 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004304/1.7, allocations: 51.98 kB / 1.018 GB, free: 73.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0145/1.715, allocations: 14.26 MB / 1.032 GB, free: 58.42 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/1.715, allocations: 11.94 kB / 1.032 GB, free: 58.41 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01166/1.727, allocations: 5.502 MB / 1.037 GB, free: 52.58 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002184/1.729, allocations: 0.6853 MB / 1.038 GB, free: 51.88 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003571/1.729, allocations: 44 kB / 1.038 GB, free: 51.83 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00166/1.731, allocations: 224.2 kB / 1.038 GB, free: 51.61 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004485/1.731, allocations: 165.6 kB / 1.038 GB, free: 51.45 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001332/1.732, allocations: 71.97 kB / 1.038 GB, free: 51.38 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00189/1.733, allocations: 1.449 MB / 1.04 GB, free: 49.91 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/1.733, allocations: 4 kB / 1.04 GB, free: 49.91 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00399/1.737, allocations: 1.204 MB / 1.041 GB, free: 48.72 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (194): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 3 {2 2,2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001462/1.739, allocations: 0.6526 MB / 1.042 GB, free: 48.29 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.009079/1.748, allocations: 5.899 MB / 1.047 GB, free: 42.29 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.269e-05/1.748, allocations: 0 / 1.047 GB, free: 42.29 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002946/1.751, allocations: 2.316 MB / 1.05 GB, free: 39.9 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002727/1.754, allocations: 0.582 MB / 1.05 GB, free: 39.32 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/1.764, allocations: 7.996 MB / 1.058 GB, free: 31.23 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001807/1.766, allocations: 2.547 MB / 1.06 GB, free: 28.65 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002836/1.769, allocations: 1.006 MB / 1.061 GB, free: 27.64 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005179/1.769, allocations: 203.4 kB / 1.062 GB, free: 27.45 MB / 0.7169 GB Notification: Performance of SimCode: time 1.132e-06/1.769, allocations: 0 / 1.062 GB, free: 27.45 MB / 0.7169 GB Notification: Performance of Templates: time 0.07339/1.843, allocations: 50.35 MB / 1.111 GB, free: 9.5 MB / 0.7481 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe 2>&1) Environment - environmentSimulation: