Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.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.DC.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.DC.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000968/0.0009681, allocations: 99.62 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.001061/0.001062, allocations: 177.3 kB / 15.94 MB, free: 228 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.775/1.775, allocations: 205.4 MB / 222.1 MB, free: 5.676 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.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.0005849/0.0005851, allocations: 15.44 kB / 0.6241 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6889/0.6895, allocations: 106.3 MB / 0.728 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.WindTurbine): time 0.01212/0.7017, allocations: 5.786 MB / 0.7336 GB, free: 5.613 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.2028/0.9045, allocations: 128.4 MB / 0.859 GB, free: 4.914 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001384/0.906, allocations: 19.88 kB / 0.859 GB, free: 4.895 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00107/0.9071, allocations: 190.9 kB / 0.8592 GB, free: 4.707 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002775/0.9099, allocations: 0.6131 MB / 0.8598 GB, free: 4.098 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00305/0.9129, allocations: 0.7773 MB / 0.8605 GB, free: 3.328 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002641/0.9156, allocations: 0.9897 MB / 0.8615 GB, free: 2.332 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001921/0.9175, allocations: 0.8644 MB / 0.8623 GB, free: 1.422 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009124/0.9184, allocations: 422.2 kB / 0.8627 GB, free: 1.008 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001094/0.9195, allocations: 449.8 kB / 0.8632 GB, free: 0.5664 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002539/0.9198, allocations: 36 kB / 0.8632 GB, free: 0.5312 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0011/0.9209, allocations: 307.5 kB / 0.8635 GB, free: 236 kB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004101/0.9213, allocations: 271 kB / 0.8638 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0004046/0.9218, allocations: 241 kB / 0.864 GB, free: 15.72 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001919/0.9237, allocations: 1.372 MB / 0.8653 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.9237, allocations: 0 / 0.8653 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of FrontEnd: time 6.312e-06/0.9237, allocations: 0 / 0.8653 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 9.978e-05/0.9238, allocations: 3.938 kB / 0.8653 GB, free: 14.34 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: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.003792/0.9276, allocations: 1.404 MB / 0.8667 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.9277, allocations: 12.03 kB / 0.8667 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001618/0.9293, allocations: 270 kB / 0.867 GB, free: 12.61 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002079/0.9314, allocations: 0.875 MB / 0.8678 GB, free: 11.69 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.775e-05/0.9315, allocations: 70 kB / 0.8679 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002313/0.9317, allocations: 99.98 kB / 0.868 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00237/0.9341, allocations: 1.15 MB / 0.8691 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.988e-05/0.9342, allocations: 4 kB / 0.8691 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001213/0.9343, allocations: 40 kB / 0.8691 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.746e-05/0.9344, allocations: 57.98 kB / 0.8692 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002243/0.9366, allocations: 1.292 MB / 0.8705 GB, free: 8.906 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007359/0.944, allocations: 4.338 MB / 0.8747 GB, free: 4.355 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001762/0.9458, allocations: 0.8151 MB / 0.8755 GB, free: 3.531 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 8.994e-05/0.9459, allocations: 36.62 kB / 0.8755 GB, free: 3.496 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008846/0.9468, allocations: 473.7 kB / 0.876 GB, free: 3.008 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=80): time 3.396e-06/0.9468, allocations: 4 kB / 0.876 GB, free: 3.004 MB / 0.6856 GB Notification: Performance of matching and sorting (n=80): time 0.002412/0.9492, allocations: 1.085 MB / 0.877 GB, free: 1.891 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001808/0.9494, allocations: 299.3 kB / 0.8773 GB, free: 1.531 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001504/0.9509, allocations: 0.8946 MB / 0.8782 GB, free: 0.6094 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 9.488e-05/0.951, allocations: 37.7 kB / 0.8782 GB, free: 0.5664 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005403/0.9516, allocations: 0.5348 MB / 0.8788 GB, free: 24 kB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003032/0.9519, allocations: 264.1 kB / 0.879 GB, free: 15.76 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.155e-05/0.9519, allocations: 16 kB / 0.879 GB, free: 15.75 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.9521, allocations: 338 kB / 0.8794 GB, free: 15.41 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00051/0.9526, allocations: 245.9 kB / 0.8796 GB, free: 15.17 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00067/0.9533, allocations: 447 kB / 0.88 GB, free: 14.67 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006394/0.954, allocations: 322.9 kB / 0.8803 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.954, allocations: 0 / 0.8803 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001617/0.9556, allocations: 0.8329 MB / 0.8811 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.000536/0.9561, allocations: 1.055 MB / 0.8822 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.9562, allocations: 0 / 0.8822 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002308/0.9564, allocations: 32.84 kB / 0.8822 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007211/0.9571, allocations: 175.7 kB / 0.8824 GB, free: 12.17 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001365/0.9585, allocations: 1.295 MB / 0.8836 GB, free: 10.74 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000836/0.9594, allocations: 109.4 kB / 0.8837 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.689e-05/0.9595, allocations: 35.98 kB / 0.8838 GB, free: 10.6 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.9595, allocations: 4 kB / 0.8838 GB, free: 10.6 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001311/0.9608, allocations: 0.6948 MB / 0.8845 GB, free: 9.906 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.9608, allocations: 4 kB / 0.8845 GB, free: 9.902 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.226e-06/0.9608, allocations: 4 kB / 0.8845 GB, free: 9.898 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007035/0.9615, allocations: 183.7 kB / 0.8846 GB, free: 9.719 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.9616, allocations: 4 kB / 0.8846 GB, free: 9.715 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007731/0.9624, allocations: 99.61 kB / 0.8847 GB, free: 9.617 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.487e-05/0.9624, allocations: 35.98 kB / 0.8848 GB, free: 9.582 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (95): * Single equations (assignments): 94 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0007607/0.9632, allocations: 400.8 kB / 0.8851 GB, free: 9.18 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002627/0.9635, allocations: 110.7 kB / 0.8853 GB, free: 9.07 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002088/0.9656, allocations: 0.9816 MB / 0.8862 GB, free: 8.078 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/0.9656, allocations: 12.09 kB / 0.8862 GB, free: 8.066 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.9656, allocations: 11.86 kB / 0.8862 GB, free: 8.055 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/0.9656, allocations: 3.984 kB / 0.8862 GB, free: 8.051 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002047/0.9677, allocations: 1.296 MB / 0.8875 GB, free: 6.691 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.9677, allocations: 0 / 0.8875 GB, free: 6.691 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000616/0.9683, allocations: 159.7 kB / 0.8877 GB, free: 6.535 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001229/0.9685, allocations: 24.84 kB / 0.8877 GB, free: 6.508 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.954e-05/0.9685, allocations: 23.98 kB / 0.8877 GB, free: 6.484 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001/0.9695, allocations: 1.28 MB / 0.889 GB, free: 5.07 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.9696, allocations: 7.984 kB / 0.889 GB, free: 5.062 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001628/0.9712, allocations: 0.896 MB / 0.8898 GB, free: 4.125 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005341/0.9717, allocations: 315.3 kB / 0.8901 GB, free: 3.797 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000172/0.9719, allocations: 20 kB / 0.8902 GB, free: 3.777 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006613/0.9726, allocations: 78.75 kB / 0.8902 GB, free: 3.703 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/0.9728, allocations: 60.91 kB / 0.8903 GB, free: 3.645 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.293e-05/0.9728, allocations: 31.98 kB / 0.8903 GB, free: 3.613 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001086/0.9739, allocations: 0.6247 MB / 0.8909 GB, free: 2.977 MB / 0.7012 GB Notification: Performance of sort global known variables: time 4.1e-07/0.9739, allocations: 4 kB / 0.8909 GB, free: 2.973 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001667/0.9756, allocations: 0.4983 MB / 0.8914 GB, free: 2.473 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (91): * Single equations (assignments): 88 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001609/0.9772, allocations: 0.5449 MB / 0.892 GB, free: 2.094 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002475/0.9797, allocations: 1.166 MB / 0.8931 GB, free: 0.9141 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.9797, allocations: 0 / 0.8931 GB, free: 0.9141 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0007774/0.9805, allocations: 496.2 kB / 0.8936 GB, free: 428 kB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/0.9819, allocations: 288.3 kB / 0.8938 GB, free: 140 kB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004436/0.9863, allocations: 2.471 MB / 0.8963 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001064/0.9874, allocations: 1.164 MB / 0.8974 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001357/0.9888, allocations: 391.8 kB / 0.8978 GB, free: 12.06 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002933/0.9891, allocations: 115.4 kB / 0.8979 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of SimCode: time 7.22e-07/0.9891, allocations: 0 / 0.8979 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of Templates: time 0.5175/1.507, allocations: 14.22 MB / 0.9118 GB, free: 176.8 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe 2>&1) Environment - environmentSimulation: