Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.ThreePhasesBalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 98.53 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.001176/0.001176, allocations: 177.3 kB / 15.94 MB, free: 220 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.563/1.563, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.748/1.748, allocations: 292.5 MB / 0.5497 GB, free: 14.63 MB / 462.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.0005508/0.0005509, allocations: 13.84 kB / 0.6736 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2912, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine): time 0.009325/0.3006, allocations: 6.996 MB / 0.794 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6481/0.9487, allocations: 128.7 MB / 0.9197 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001522/0.9503, allocations: 22.66 kB / 0.9197 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009281/0.9512, allocations: 194.8 kB / 0.9199 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002587/0.9538, allocations: 0.6674 MB / 0.9205 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003041/0.9569, allocations: 0.827 MB / 0.9213 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001852/0.9587, allocations: 1.028 MB / 0.9223 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002103/0.9609, allocations: 1.257 MB / 0.9236 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007982/0.9617, allocations: 443 kB / 0.924 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007864/0.9625, allocations: 476.3 kB / 0.9245 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001054/0.9626, allocations: 36.5 kB / 0.9245 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001253/0.9638, allocations: 358.2 kB / 0.9248 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003846/0.9642, allocations: 302.1 kB / 0.9251 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003293/0.9646, allocations: 249.5 kB / 0.9254 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00239/0.967, allocations: 1.527 MB / 0.9268 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.967, allocations: 0 / 0.9268 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.224e-06/0.967, allocations: 5.859 kB / 0.9269 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.456e-05/0.967, allocations: 2.969 kB / 0.9269 GB, free: 5.652 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: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.002858/0.9699, allocations: 1.47 MB / 0.9283 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.9699, allocations: 7.875 kB / 0.9283 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001398/0.9713, allocations: 305.9 kB / 0.9286 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/0.9728, allocations: 0.9172 MB / 0.9295 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.401e-05/0.9728, allocations: 79.08 kB / 0.9296 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/0.973, allocations: 104.7 kB / 0.9297 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002045/0.975, allocations: 1.303 MB / 0.9309 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.124e-05/0.9751, allocations: 1.781 kB / 0.9309 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001184/0.9752, allocations: 48.33 kB / 0.931 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.488e-05/0.9753, allocations: 60.62 kB / 0.931 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002353/0.9777, allocations: 1.464 MB / 0.9325 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006305/0.984, allocations: 4.701 MB / 0.9371 GB, free: 17.83 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002075/0.9861, allocations: 1.017 MB / 0.9381 GB, free: 17.76 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002348/0.9863, allocations: 126.7 kB / 0.9382 GB, free: 17.66 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001106/0.9874, allocations: 0.5706 MB / 0.9387 GB, free: 17.58 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=94): time 2.785e-06/0.9875, allocations: 1.062 kB / 0.9387 GB, free: 17.58 MB / 0.7325 GB Notification: Performance of matching and sorting (n=95): time 0.004703/0.9922, allocations: 2.123 MB / 0.9408 GB, free: 17.06 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001301/0.9923, allocations: 248.8 kB / 0.941 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/0.9935, allocations: 0.8981 MB / 0.9419 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.984e-05/0.9936, allocations: 47.86 kB / 0.942 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004693/0.9941, allocations: 0.5387 MB / 0.9425 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002381/0.9943, allocations: 320.9 kB / 0.9428 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.552e-05/0.9944, allocations: 17.66 kB / 0.9428 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.9945, allocations: 345.5 kB / 0.9431 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006115/0.9952, allocations: 348.6 kB / 0.9435 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000722/0.9959, allocations: 0.5294 MB / 0.944 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007368/0.9966, allocations: 436.4 kB / 0.9444 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.9966, allocations: 1.406 kB / 0.9444 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002516/0.9992, allocations: 1.214 MB / 0.9456 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005529/0.9997, allocations: 1.232 MB / 0.9468 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/0.9998, allocations: 3.125 kB / 0.9468 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001266/1.001, allocations: 268.1 kB / 0.9471 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008812/1.002, allocations: 206.7 kB / 0.9473 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003094/1.005, allocations: 2.034 MB / 0.9492 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/1.006, allocations: 107.2 kB / 0.9493 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.05e-05/1.006, allocations: 39.77 kB / 0.9494 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/1.006, allocations: 10.59 kB / 0.9494 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001663/1.008, allocations: 0.8879 MB / 0.9503 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/1.008, allocations: 3.312 kB / 0.9503 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/1.008, allocations: 8.156 kB / 0.9503 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008088/1.009, allocations: 212.8 kB / 0.9505 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/1.009, allocations: 7.266 kB / 0.9505 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007561/1.009, allocations: 105.1 kB / 0.9506 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-05/1.01, allocations: 43 kB / 0.9506 GB, free: 12.85 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (108): * Single equations (assignments): 107 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0008767/1.01, allocations: 417.5 kB / 0.951 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001973/1.011, allocations: 120.5 kB / 0.9511 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002922/1.014, allocations: 1.389 MB / 0.9525 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.471e-05/1.014, allocations: 10.75 kB / 0.9525 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/1.014, allocations: 4.484 kB / 0.9525 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.282e-05/1.014, allocations: 3.094 kB / 0.9525 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005082/1.019, allocations: 2.682 MB / 0.9551 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/1.019, allocations: 3.031 kB / 0.9551 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007656/1.02, allocations: 193.6 kB / 0.9553 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008027/1.02, allocations: 219.5 kB / 0.9555 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.958e-05/1.02, allocations: 25.5 kB / 0.9555 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002056/1.022, allocations: 1.868 MB / 0.9574 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/1.022, allocations: 5.031 kB / 0.9574 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002407/1.025, allocations: 1.479 MB / 0.9588 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005757/1.025, allocations: 347.8 kB / 0.9592 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001413/1.026, allocations: 23.88 kB / 0.9592 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007617/1.026, allocations: 98.73 kB / 0.9593 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/1.027, allocations: 75.11 kB / 0.9593 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.283e-05/1.027, allocations: 36.45 kB / 0.9594 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008835/1.028, allocations: 0.6305 MB / 0.96 GB, free: 9.906 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.71e-07/1.028, allocations: 0 / 0.96 GB, free: 9.906 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001594/1.029, allocations: 463.1 kB / 0.9604 GB, free: 9.887 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (105): * Single equations (assignments): 102 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001217/1.03, allocations: 0.5669 MB / 0.961 GB, free: 9.68 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002804/1.033, allocations: 1.54 MB / 0.9625 GB, free: 9.414 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/1.033, allocations: 1.781 kB / 0.9625 GB, free: 9.414 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009887/1.034, allocations: 0.6553 MB / 0.9631 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001425/1.036, allocations: 299.4 kB / 0.9634 GB, free: 9.133 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004315/1.04, allocations: 2.808 MB / 0.9662 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006943/1.041, allocations: 1.208 MB / 0.9673 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001389/1.042, allocations: 465.7 kB / 0.9678 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002912/1.042, allocations: 119.2 kB / 0.9679 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of SimCode: time 1.413e-06/1.042, allocations: 1.781 kB / 0.9679 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of Templates: time 0.02754/1.07, allocations: 16.72 MB / 0.9842 GB, free: 14.28 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe 2>&1) Environment - environmentSimulation: