Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.ThreePhasesBalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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.001264/0.001264, allocations: 100 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.001528/0.001528, 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.747/1.747, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.714/1.714, allocations: 251.9 MB / 0.51 GB, free: 4.863 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.0006031/0.0006032, allocations: 16 kB / 0.6241 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7063/0.7069, allocations: 106.3 MB / 0.728 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine): time 0.01029/0.7172, allocations: 7.01 MB / 0.7348 GB, free: 4.441 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1859/0.9032, allocations: 128.8 MB / 0.8606 GB, free: 3.344 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001363/0.9047, allocations: 23.88 kB / 0.8606 GB, free: 3.32 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0007378/0.9054, allocations: 190.8 kB / 0.8608 GB, free: 3.133 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002477/0.9079, allocations: 0.6541 MB / 0.8614 GB, free: 2.48 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002674/0.9106, allocations: 0.8363 MB / 0.8622 GB, free: 1.652 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002097/0.9127, allocations: 1.025 MB / 0.8632 GB, free: 0.6211 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002165/0.9149, allocations: 1.26 MB / 0.8645 GB, free: 15.31 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007031/0.9156, allocations: 434.2 kB / 0.8649 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008415/0.9164, allocations: 485.7 kB / 0.8653 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001073/0.9166, allocations: 40 kB / 0.8654 GB, free: 14.37 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001128/0.9177, allocations: 351.5 kB / 0.8657 GB, free: 14.03 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003591/0.9181, allocations: 306.9 kB / 0.866 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.000263/0.9183, allocations: 249 kB / 0.8662 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001994/0.9203, allocations: 1.535 MB / 0.8677 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.9203, allocations: 0 / 0.8677 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.084e-06/0.9204, allocations: 0 / 0.8677 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.421e-05/0.9204, allocations: 4 kB / 0.8677 GB, free: 11.93 MB / 0.6856 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.003142/0.9235, allocations: 1.474 MB / 0.8692 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.9236, allocations: 8.031 kB / 0.8692 GB, free: 10.4 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001487/0.9251, allocations: 305.9 kB / 0.8695 GB, free: 10.1 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001589/0.9267, allocations: 0.914 MB / 0.8704 GB, free: 9.141 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-05/0.9268, allocations: 82.09 kB / 0.8705 GB, free: 9.059 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001462/0.9269, allocations: 100 kB / 0.8706 GB, free: 8.961 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002224/0.9292, allocations: 1.299 MB / 0.8718 GB, free: 7.57 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.928e-05/0.9292, allocations: 4 kB / 0.8718 GB, free: 7.566 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.9293, allocations: 43.98 kB / 0.8719 GB, free: 7.523 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001026/0.9294, allocations: 65.97 kB / 0.8719 GB, free: 7.457 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002249/0.9317, allocations: 1.459 MB / 0.8734 GB, free: 5.996 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006267/0.938, allocations: 4.702 MB / 0.8779 GB, free: 1.047 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001711/0.9397, allocations: 1.013 MB / 0.8789 GB, free: 16 kB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002177/0.9399, allocations: 122.1 kB / 0.8791 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009403/0.9409, allocations: 0.5805 MB / 0.8796 GB, free: 15.28 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=94): time 2.394e-06/0.9409, allocations: 0 / 0.8796 GB, free: 15.28 MB / 0.7012 GB Notification: Performance of matching and sorting (n=95): time 0.004742/0.9457, allocations: 2.119 MB / 0.8817 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001374/0.9458, allocations: 248.5 kB / 0.8819 GB, free: 12.83 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/0.947, allocations: 0.8946 MB / 0.8828 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.446e-05/0.9471, allocations: 45.7 kB / 0.8828 GB, free: 11.86 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004727/0.9476, allocations: 0.5428 MB / 0.8834 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002817/0.9479, allocations: 323.3 kB / 0.8837 GB, free: 10.98 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.818e-05/0.9479, allocations: 16.11 kB / 0.8837 GB, free: 10.97 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.9481, allocations: 341.9 kB / 0.884 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000628/0.9487, allocations: 353.8 kB / 0.8844 GB, free: 10.28 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007687/0.9495, allocations: 0.5352 MB / 0.8849 GB, free: 9.688 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007317/0.9502, allocations: 430.8 kB / 0.8853 GB, free: 9.27 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.9503, allocations: 8 kB / 0.8853 GB, free: 9.262 MB / 0.7012 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002513/0.9528, allocations: 1.211 MB / 0.8865 GB, free: 8.035 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005867/0.9534, allocations: 1.225 MB / 0.8877 GB, free: 6.719 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.9534, allocations: 4 kB / 0.8877 GB, free: 6.715 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001239/0.9546, allocations: 264.5 kB / 0.8879 GB, free: 6.453 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008594/0.9555, allocations: 207.7 kB / 0.8881 GB, free: 6.25 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003173/0.9587, allocations: 2.042 MB / 0.8901 GB, free: 4.066 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009317/0.9597, allocations: 102.4 kB / 0.8902 GB, free: 3.969 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.55e-05/0.9597, allocations: 39.97 kB / 0.8903 GB, free: 3.93 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.9598, allocations: 4 kB / 0.8903 GB, free: 3.926 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001564/0.9613, allocations: 0.8899 MB / 0.8911 GB, free: 3.039 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.9613, allocations: 4.406 kB / 0.8911 GB, free: 3.035 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.9614, allocations: 12 kB / 0.8912 GB, free: 3.023 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008299/0.9622, allocations: 211.7 kB / 0.8914 GB, free: 2.816 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.9622, allocations: 8 kB / 0.8914 GB, free: 2.809 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007733/0.963, allocations: 103.2 kB / 0.8915 GB, free: 2.707 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.721e-05/0.9631, allocations: 43.98 kB / 0.8915 GB, free: 2.664 MB / 0.7012 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.0007979/0.9639, allocations: 428.8 kB / 0.8919 GB, free: 2.234 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001832/0.9641, allocations: 110.7 kB / 0.892 GB, free: 2.125 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002864/0.967, allocations: 1.388 MB / 0.8934 GB, free: 0.7227 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/0.967, allocations: 12 kB / 0.8934 GB, free: 0.7109 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.967, allocations: 3.953 kB / 0.8934 GB, free: 0.707 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.967, allocations: 3.984 kB / 0.8934 GB, free: 0.7031 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004443/0.9715, allocations: 2.675 MB / 0.896 GB, free: 13.95 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.9715, allocations: 4 kB / 0.896 GB, free: 13.95 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007664/0.9723, allocations: 187.8 kB / 0.8962 GB, free: 13.76 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008071/0.9731, allocations: 212.7 kB / 0.8964 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.745e-05/0.9732, allocations: 31.98 kB / 0.8964 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002206/0.9754, allocations: 1.874 MB / 0.8982 GB, free: 11.51 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.9754, allocations: 0 / 0.8982 GB, free: 11.51 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002899/0.9783, allocations: 1.487 MB / 0.8997 GB, free: 9.938 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007452/0.979, allocations: 343.2 kB / 0.9 GB, free: 9.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001558/0.9792, allocations: 24 kB / 0.9001 GB, free: 9.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000794/0.98, allocations: 95.89 kB / 0.9001 GB, free: 9.465 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/0.9802, allocations: 76.84 kB / 0.9002 GB, free: 9.391 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-05/0.9803, allocations: 39.97 kB / 0.9003 GB, free: 9.352 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009507/0.9812, allocations: 0.6289 MB / 0.9009 GB, free: 8.711 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9812, allocations: 0 / 0.9009 GB, free: 8.711 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001575/0.9828, allocations: 463.9 kB / 0.9013 GB, free: 8.258 MB / 0.7169 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.001343/0.9842, allocations: 0.5666 MB / 0.9019 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002903/0.9871, allocations: 1.541 MB / 0.9034 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.9871, allocations: 4 kB / 0.9034 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.9881, allocations: 0.653 MB / 0.904 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001405/0.9896, allocations: 291.6 kB / 0.9043 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004754/0.9943, allocations: 2.807 MB / 0.907 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009143/0.9953, allocations: 1.209 MB / 0.9082 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001432/0.9967, allocations: 456.3 kB / 0.9086 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002847/0.997, allocations: 119.4 kB / 0.9088 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of SimCode: time 1.152e-06/0.997, allocations: 3.938 kB / 0.9088 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of Templates: time 0.4594/1.456, allocations: 16.72 MB / 0.9251 GB, free: 171.5 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe 2>&1) Environment - environmentSimulation: