Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.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.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.879/2.879, allocations: 287.3 MB / 302.3 MB, free: 8.289 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.001566/0.001566, allocations: 181 kB / 370.8 MB, free: 10.85 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.17/2.17, allocations: 205.4 MB / 0.6295 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.001135/0.001135, allocations: 95.94 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007352/0.0007355, allocations: 12.03 kB / 0.8656 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2513, allocations: 115.3 MB / 0.9782 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine): time 0.02753/0.2789, allocations: 18.65 MB / 0.9964 GB, free: 9.66 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.9264/1.205, allocations: 134.4 MB / 1.128 GB, free: 5.336 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002672/1.208, allocations: 57.06 kB / 1.128 GB, free: 5.316 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002593/1.211, allocations: 0.5302 MB / 1.128 GB, free: 5.18 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.007663/1.218, allocations: 1.563 MB / 1.13 GB, free: 5.023 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.007793/1.226, allocations: 1.555 MB / 1.131 GB, free: 4.926 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.006993/1.233, allocations: 2.651 MB / 1.134 GB, free: 4.793 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01442/1.248, allocations: 5.73 MB / 1.139 GB, free: 3.82 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004354/1.252, allocations: 1.337 MB / 1.141 GB, free: 3.305 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004438/1.257, allocations: 1.413 MB / 1.142 GB, free: 2.781 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001496/1.258, allocations: 164.7 kB / 1.142 GB, free: 2.781 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003526/1.262, allocations: 0.5767 MB / 1.143 GB, free: 2.664 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.002985/1.265, allocations: 1.235 MB / 1.144 GB, free: 2.277 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.00218/1.267, allocations: 0.7007 MB / 1.145 GB, free: 1.828 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01109/1.278, allocations: 5.659 MB / 1.15 GB, free: 13.92 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/1.278, allocations: 0 / 1.15 GB, free: 13.92 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.148e-06/1.278, allocations: 1.312 kB / 1.15 GB, free: 13.92 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003033/1.279, allocations: 0 / 1.15 GB, free: 13.92 MB / 0.698 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.01442/1.293, allocations: 3.307 MB / 1.154 GB, free: 11.62 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/1.293, allocations: 12.73 kB / 1.154 GB, free: 11.62 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007388/1.301, allocations: 0.8388 MB / 1.154 GB, free: 11.22 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008675/1.309, allocations: 2.343 MB / 1.157 GB, free: 9.711 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003073/1.31, allocations: 230.9 kB / 1.157 GB, free: 9.613 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001529/1.311, allocations: 306.5 kB / 1.157 GB, free: 9.512 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01708/1.328, allocations: 4.697 MB / 1.162 GB, free: 6.645 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001402/1.328, allocations: 6.5 kB / 1.162 GB, free: 6.641 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008798/1.329, allocations: 132.2 kB / 1.162 GB, free: 6.547 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005806/1.33, allocations: 218.5 kB / 1.162 GB, free: 6.488 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01432/1.344, allocations: 4.289 MB / 1.166 GB, free: 4.312 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04564/1.39, allocations: 19.53 MB / 1.185 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006514/1.397, allocations: 2 MB / 1.187 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000469/1.397, allocations: 139.7 kB / 1.187 GB, free: 1.668 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004501/1.402, allocations: 1.198 MB / 1.189 GB, free: 456 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=160): time 5.23e-06/1.402, allocations: 0 / 1.189 GB, free: 456 kB / 0.7136 GB Notification: Performance of matching and sorting (n=197): time 0.06965/1.471, allocations: 11.17 MB / 1.2 GB, free: 5.211 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000223/1.472, allocations: 308.7 kB / 1.2 GB, free: 4.844 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005043/1.477, allocations: 2.067 MB / 1.202 GB, free: 2.734 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0006021/1.477, allocations: 61.7 kB / 1.202 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.002144/1.48, allocations: 1.487 MB / 1.203 GB, free: 1.164 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001239/1.481, allocations: 0.6591 MB / 1.204 GB, free: 0.5117 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002474/1.481, allocations: 36 kB / 1.204 GB, free: 488 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002473/1.481, allocations: 381.9 kB / 1.204 GB, free: 100 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003539/1.485, allocations: 1.152 MB / 1.205 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004103/1.489, allocations: 1.606 MB / 1.207 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004503/1.494, allocations: 1.388 MB / 1.208 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.791e-05/1.494, allocations: 11.95 kB / 1.208 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of matching and sorting (n=245) (initialization): time 0.02757/1.521, allocations: 5.104 MB / 1.213 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.002066/1.523, allocations: 3.759 MB / 1.217 GB, free: 2.621 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.861e-05/1.523, allocations: 8 kB / 1.217 GB, free: 2.613 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02096/1.544, allocations: 2.451 MB / 1.219 GB, free: 144 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00405/1.548, allocations: 459.3 kB / 1.22 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03643/1.585, allocations: 14.65 MB / 1.234 GB, free: 264 kB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004182/1.589, allocations: 191.7 kB / 1.234 GB, free: 72 kB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005447/1.59, allocations: 88.02 kB / 1.234 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/1.59, allocations: 4 kB / 1.235 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02075/1.611, allocations: 4.138 MB / 1.239 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.609e-05/1.611, allocations: 8 kB / 1.239 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01373/1.624, allocations: 1.621 MB / 1.24 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004167/1.629, allocations: 475.2 kB / 1.241 GB, free: 9.727 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02436/1.653, allocations: 8.626 MB / 1.249 GB, free: 0.6992 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004091/1.657, allocations: 183.7 kB / 1.249 GB, free: 0.5195 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006454/1.658, allocations: 79.97 kB / 1.249 GB, free: 452 kB / 0.7761 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.004501/1.662, allocations: 1.256 MB / 1.25 GB, free: 15.18 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001009/1.663, allocations: 233.1 kB / 1.251 GB, free: 14.95 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03254/1.696, allocations: 5.19 MB / 1.256 GB, free: 9.715 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.081e-05/1.696, allocations: 23.98 kB / 1.256 GB, free: 9.691 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.988e-05/1.696, allocations: 7.938 kB / 1.256 GB, free: 9.684 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.097e-05/1.696, allocations: 8.203 kB / 1.256 GB, free: 9.676 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04063/1.737, allocations: 9.873 MB / 1.265 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.843e-05/1.737, allocations: 12.16 kB / 1.265 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003432/1.74, allocations: 387.3 kB / 1.266 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01877/1.759, allocations: 2.267 MB / 1.268 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005725/1.76, allocations: 51.98 kB / 1.268 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03404/1.794, allocations: 14.27 MB / 1.282 GB, free: 13.89 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.489e-05/1.794, allocations: 11.94 kB / 1.282 GB, free: 13.88 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02586/1.82, allocations: 5.496 MB / 1.287 GB, free: 8.059 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002857/1.823, allocations: 0.6853 MB / 1.288 GB, free: 7.352 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001098/1.824, allocations: 44 kB / 1.288 GB, free: 7.309 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004183/1.828, allocations: 227.6 kB / 1.288 GB, free: 7.086 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001057/1.829, allocations: 165.6 kB / 1.289 GB, free: 6.926 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003612/1.83, allocations: 67.98 kB / 1.289 GB, free: 6.859 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.004449/1.834, allocations: 1.449 MB / 1.29 GB, free: 5.391 MB / 0.823 GB Notification: Performance of sort global known variables: time 7.22e-07/1.834, allocations: 0 / 1.29 GB, free: 5.391 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.008202/1.842, allocations: 1.207 MB / 1.291 GB, free: 4.184 MB / 0.823 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.002603/1.845, allocations: 0.65 MB / 1.292 GB, free: 3.742 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.02147/1.867, allocations: 5.907 MB / 1.298 GB, free: 13.73 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-05/1.867, allocations: 4.812 kB / 1.298 GB, free: 13.72 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.007008/1.874, allocations: 2.312 MB / 1.3 GB, free: 11.34 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005433/1.879, allocations: 0.5794 MB / 1.3 GB, free: 10.75 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02293/1.902, allocations: 8.017 MB / 1.308 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005395/1.908, allocations: 2.546 MB / 1.311 GB, free: 60 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.005723/1.913, allocations: 1.002 MB / 1.312 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001249/1.915, allocations: 207.4 kB / 1.312 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of SimCode: time 1.263e-06/1.915, allocations: 0 / 1.312 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of Templates: time 0.1384/2.053, allocations: 50.33 MB / 1.361 GB, free: 12.76 MB / 0.9011 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe 2>&1)