Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.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.OnePhase.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009793/0.0009794, allocations: 99.86 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.000911/0.000911, 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.899/1.899, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.536/1.536, allocations: 251.9 MB / 0.51 GB, free: 4.844 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.0006256/0.0006257, allocations: 15.98 kB / 0.6241 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6516/0.6522, allocations: 106.3 MB / 0.728 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine): time 0.008033/0.6603, allocations: 6.09 MB / 0.7339 GB, free: 5.293 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1735/0.8339, allocations: 128.8 MB / 0.8597 GB, free: 4.195 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001335/0.8352, allocations: 23.88 kB / 0.8597 GB, free: 4.172 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0006503/0.8359, allocations: 182.9 kB / 0.8599 GB, free: 3.992 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002005/0.8379, allocations: 0.6616 MB / 0.8605 GB, free: 3.332 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002517/0.8405, allocations: 0.8333 MB / 0.8613 GB, free: 2.508 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001883/0.8423, allocations: 1.021 MB / 0.8623 GB, free: 1.48 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001996/0.8444, allocations: 1.274 MB / 0.8636 GB, free: 164 kB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006747/0.845, allocations: 434.2 kB / 0.864 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006993/0.8457, allocations: 477.8 kB / 0.8644 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.8459, allocations: 40 kB / 0.8645 GB, free: 15.23 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001006/0.8469, allocations: 359.5 kB / 0.8648 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003116/0.8472, allocations: 295 kB / 0.8651 GB, free: 14.59 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0002227/0.8474, allocations: 256.9 kB / 0.8653 GB, free: 14.33 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001605/0.849, allocations: 1.523 MB / 0.8668 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.8491, allocations: 0 / 0.8668 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.094e-06/0.8491, allocations: 0 / 0.8668 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.682e-05/0.8491, allocations: 0 / 0.8668 GB, free: 12.8 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.002812/0.8519, allocations: 1.471 MB / 0.8683 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.852, allocations: 8.031 kB / 0.8683 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001441/0.8534, allocations: 301.8 kB / 0.8686 GB, free: 10.97 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001611/0.855, allocations: 0.9218 MB / 0.8695 GB, free: 10 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.49e-05/0.8551, allocations: 82.09 kB / 0.8695 GB, free: 9.922 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001637/0.8553, allocations: 100 kB / 0.8696 GB, free: 9.824 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002069/0.8574, allocations: 1.309 MB / 0.8709 GB, free: 8.426 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.348e-05/0.8574, allocations: 0 / 0.8709 GB, free: 8.426 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.8575, allocations: 47.98 kB / 0.871 GB, free: 8.379 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-05/0.8576, allocations: 61.98 kB / 0.871 GB, free: 8.316 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002448/0.8601, allocations: 1.467 MB / 0.8725 GB, free: 6.848 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006305/0.8664, allocations: 4.702 MB / 0.877 GB, free: 1.898 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001689/0.8681, allocations: 1.011 MB / 0.878 GB, free: 0.8672 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001823/0.8683, allocations: 118.1 kB / 0.8781 GB, free: 0.7344 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008366/0.8691, allocations: 0.5767 MB / 0.8787 GB, free: 140 kB / 0.6856 GB Notification: Performance of pre-optimization done (n=94): time 3.787e-06/0.8692, allocations: 3.984 kB / 0.8787 GB, free: 136 kB / 0.6856 GB Notification: Performance of matching and sorting (n=95): time 0.004459/0.8736, allocations: 2.116 MB / 0.8808 GB, free: 13.98 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001335/0.8738, allocations: 244.3 kB / 0.881 GB, free: 13.69 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/0.8749, allocations: 0.9024 MB / 0.8819 GB, free: 12.76 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.269e-05/0.875, allocations: 41.7 kB / 0.8819 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004383/0.8754, allocations: 0.5428 MB / 0.8825 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002397/0.8757, allocations: 319.3 kB / 0.8828 GB, free: 11.85 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.8757, allocations: 20 kB / 0.8828 GB, free: 11.83 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.8759, allocations: 341.9 kB / 0.8831 GB, free: 11.49 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000594/0.8765, allocations: 349.8 kB / 0.8834 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007403/0.8772, allocations: 0.5373 MB / 0.884 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000678/0.8779, allocations: 430.8 kB / 0.8844 GB, free: 10.13 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.8779, allocations: 0 / 0.8844 GB, free: 10.13 MB / 0.7012 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002381/0.8803, allocations: 1.227 MB / 0.8856 GB, free: 8.887 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004647/0.8808, allocations: 1.217 MB / 0.8868 GB, free: 7.578 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.8808, allocations: 4 kB / 0.8868 GB, free: 7.574 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001168/0.882, allocations: 260.5 kB / 0.887 GB, free: 7.316 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008169/0.8828, allocations: 215.7 kB / 0.8872 GB, free: 7.105 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002924/0.8857, allocations: 2.034 MB / 0.8892 GB, free: 4.93 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007963/0.8866, allocations: 107.8 kB / 0.8893 GB, free: 4.824 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.755e-05/0.8866, allocations: 35.98 kB / 0.8893 GB, free: 4.789 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.8866, allocations: 6.031 kB / 0.8894 GB, free: 4.785 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001482/0.8881, allocations: 0.886 MB / 0.8902 GB, free: 3.902 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.8882, allocations: 4 kB / 0.8902 GB, free: 3.898 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.8882, allocations: 8.516 kB / 0.8902 GB, free: 3.891 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008033/0.889, allocations: 219.6 kB / 0.8904 GB, free: 3.676 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.889, allocations: 8 kB / 0.8904 GB, free: 3.668 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006709/0.8897, allocations: 110.1 kB / 0.8906 GB, free: 3.562 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.627e-05/0.8898, allocations: 43.97 kB / 0.8906 GB, free: 3.52 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.0007123/0.8905, allocations: 424.8 kB / 0.891 GB, free: 3.094 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001708/0.8907, allocations: 106.7 kB / 0.8911 GB, free: 2.988 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002776/0.8934, allocations: 1.392 MB / 0.8925 GB, free: 1.582 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/0.8935, allocations: 12 kB / 0.8925 GB, free: 1.57 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.8935, allocations: 3.953 kB / 0.8925 GB, free: 1.566 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.404e-05/0.8935, allocations: 11.97 kB / 0.8925 GB, free: 1.555 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004113/0.8976, allocations: 2.671 MB / 0.8951 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.8976, allocations: 0 / 0.8951 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007268/0.8984, allocations: 195.7 kB / 0.8953 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007701/0.8991, allocations: 208.8 kB / 0.8955 GB, free: 14.41 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.679e-05/0.8992, allocations: 31.98 kB / 0.8955 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002182/0.9014, allocations: 1.878 MB / 0.8973 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.9014, allocations: 0 / 0.8973 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002765/0.9042, allocations: 1.483 MB / 0.8988 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000616/0.9048, allocations: 347.2 kB / 0.8991 GB, free: 10.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001383/0.905, allocations: 24 kB / 0.8992 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007675/0.9058, allocations: 90.72 kB / 0.8992 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001632/0.9059, allocations: 80.83 kB / 0.8993 GB, free: 10.25 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.497e-05/0.906, allocations: 39.98 kB / 0.8994 GB, free: 10.21 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001068/0.9071, allocations: 0.6328 MB / 0.9 GB, free: 9.562 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9071, allocations: 0 / 0.9 GB, free: 9.562 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001679/0.9088, allocations: 463.9 kB / 0.9004 GB, free: 9.109 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.001258/0.9101, allocations: 0.5703 MB / 0.901 GB, free: 8.707 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002877/0.9129, allocations: 1.541 MB / 0.9025 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.913, allocations: 0 / 0.9025 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.914, allocations: 0.6452 MB / 0.9031 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001405/0.9154, allocations: 290 kB / 0.9034 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004322/0.9198, allocations: 2.815 MB / 0.9061 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009111/0.9207, allocations: 1.213 MB / 0.9073 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001456/0.9222, allocations: 456.3 kB / 0.9077 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000387/0.9226, allocations: 123.4 kB / 0.9079 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of SimCode: time 9.32e-07/0.9226, allocations: 0 / 0.9079 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of Templates: time 0.4433/1.366, allocations: 16.71 MB / 0.9242 GB, free: 171.9 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe 2>&1) Environment - environmentSimulation: