Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.677/1.677, allocations: 289.9 MB / 297.4 MB, free: 6.398 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.001001/0.001001, allocations: 180.9 kB / 366.7 MB, free: 1.645 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.533/1.533, allocations: 205.2 MB / 0.626 GB, free: 7.168 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001169/0.001169, allocations: 89.55 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.708e-05/1.711e-05, allocations: 8 kB / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7517/0.7517, allocations: 116.3 MB / 0.9733 GB, free: 76.31 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.6/5.352, allocations: 2.103 GB / 3.076 GB, free: 4.109 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003008/5.352, allocations: 105.6 kB / 3.076 GB, free: 4.008 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.6959/6.048, allocations: 57.33 MB / 3.132 GB, free: 331.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.205e-06/6.048, allocations: 7.984 kB / 3.132 GB, free: 331.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001205/6.048, allocations: 35.44 kB / 3.132 GB, free: 331.5 MB / 0.948 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.002786/6.051, allocations: 1.373 MB / 3.134 GB, free: 330.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.165e-05/6.051, allocations: 12.41 kB / 3.134 GB, free: 330.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001653/6.053, allocations: 295 kB / 3.134 GB, free: 330.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001411/6.054, allocations: 0.8319 MB / 3.135 GB, free: 329.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.01e-05/6.054, allocations: 34.31 kB / 3.135 GB, free: 329.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/6.055, allocations: 64.81 kB / 3.135 GB, free: 329.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00205/6.057, allocations: 1.279 MB / 3.136 GB, free: 329 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001913/6.059, allocations: 1.113 MB / 3.137 GB, free: 328.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.101e-05/6.059, allocations: 5.406 kB / 3.137 GB, free: 328.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.554e-05/6.059, allocations: 6.125 kB / 3.137 GB, free: 328.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.699e-05/6.059, allocations: 56.33 kB / 3.137 GB, free: 328.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005919/6.065, allocations: 4.52 MB / 3.142 GB, free: 324.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001309/6.066, allocations: 0.9197 MB / 3.143 GB, free: 324.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004364/6.066, allocations: 389.4 kB / 3.143 GB, free: 323.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002075/6.067, allocations: 125.4 kB / 3.143 GB, free: 323.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006771/6.067, allocations: 0.5199 MB / 3.144 GB, free: 323.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=94): time 3.616e-06/6.067, allocations: 0 / 3.144 GB, free: 323.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.002678/6.07, allocations: 1.365 MB / 3.145 GB, free: 322.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.707e-05/6.07, allocations: 299 kB / 3.145 GB, free: 322.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000971/6.071, allocations: 0.7728 MB / 3.146 GB, free: 321.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.868e-05/6.071, allocations: 25.7 kB / 3.146 GB, free: 321.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003858/6.072, allocations: 0.5408 MB / 3.146 GB, free: 321.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002162/6.072, allocations: 306 kB / 3.147 GB, free: 321.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.114e-05/6.072, allocations: 0 / 3.147 GB, free: 321.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.456e-05/6.072, allocations: 345.5 kB / 3.147 GB, free: 320.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003791/6.072, allocations: 309.9 kB / 3.147 GB, free: 320.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005222/6.073, allocations: 0.4912 MB / 3.148 GB, free: 320.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006386/6.074, allocations: 422.3 kB / 3.148 GB, free: 320.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/6.074, allocations: 6.875 kB / 3.148 GB, free: 320.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.0018/6.075, allocations: 1.049 MB / 3.149 GB, free: 319.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002486/6.076, allocations: 1.141 MB / 3.15 GB, free: 318.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/6.076, allocations: 3.984 kB / 3.15 GB, free: 318.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006002/6.076, allocations: 130.7 kB / 3.151 GB, free: 318.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007992/6.077, allocations: 207.4 kB / 3.151 GB, free: 318.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004617/6.078, allocations: 0.6469 MB / 3.151 GB, free: 317.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007951/6.078, allocations: 85.88 kB / 3.151 GB, free: 317.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.033e-05/6.078, allocations: 43.08 kB / 3.151 GB, free: 317.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/6.078, allocations: 8.844 kB / 3.152 GB, free: 317.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001162/6.08, allocations: 0.7775 MB / 3.152 GB, free: 317.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/6.08, allocations: 3.969 kB / 3.152 GB, free: 317.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.706e-06/6.08, allocations: 7.562 kB / 3.152 GB, free: 317.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007248/6.08, allocations: 214.6 kB / 3.152 GB, free: 317.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/6.08, allocations: 19.72 kB / 3.152 GB, free: 317.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006361/6.081, allocations: 78.2 kB / 3.153 GB, free: 317.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.503e-05/6.081, allocations: 35.34 kB / 3.153 GB, free: 317.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * 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.0002152/6.081, allocations: 128.6 kB / 3.153 GB, free: 316.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001658/6.082, allocations: 105 kB / 3.153 GB, free: 316.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002458/6.084, allocations: 1.302 MB / 3.154 GB, free: 316 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/6.084, allocations: 15.94 kB / 3.154 GB, free: 316 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/6.084, allocations: 0 / 3.154 GB, free: 316 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/6.084, allocations: 15.94 kB / 3.154 GB, free: 316 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00346/6.088, allocations: 2.492 MB / 3.157 GB, free: 313.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.451e-06/6.088, allocations: 4 kB / 3.157 GB, free: 313.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006916/6.088, allocations: 191.8 kB / 3.157 GB, free: 313.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007391/6.089, allocations: 208.6 kB / 3.157 GB, free: 313.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.016e-05/6.089, allocations: 19.94 kB / 3.157 GB, free: 313.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001529/6.091, allocations: 1.756 MB / 3.159 GB, free: 311.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/6.091, allocations: 4.031 kB / 3.159 GB, free: 311.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001938/6.093, allocations: 1.415 MB / 3.16 GB, free: 309.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005277/6.093, allocations: 352.3 kB / 3.16 GB, free: 309.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001789/6.093, allocations: 7.984 kB / 3.16 GB, free: 309.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00076/6.094, allocations: 75.91 kB / 3.16 GB, free: 309.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/6.094, allocations: 81.16 kB / 3.161 GB, free: 309.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.736e-05/6.094, allocations: 31.98 kB / 3.161 GB, free: 309.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007639/6.095, allocations: 0.6124 MB / 3.161 GB, free: 308.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.21e-07/6.095, allocations: 0 / 3.161 GB, free: 308.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001733/6.097, allocations: 459.6 kB / 3.162 GB, free: 308.1 MB / 0.948 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) * 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.001339/6.098, allocations: 0.5346 MB / 3.162 GB, free: 307.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00196/6.1, allocations: 1.309 MB / 3.163 GB, free: 306.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/6.1, allocations: 4.125 kB / 3.163 GB, free: 306.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007894/6.101, allocations: 0.5961 MB / 3.164 GB, free: 305.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001309/6.102, allocations: 271.2 kB / 3.164 GB, free: 305.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003134/6.105, allocations: 1.753 MB / 3.166 GB, free: 303.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006119/6.106, allocations: 1.212 MB / 3.167 GB, free: 302.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001861/6.108, allocations: 0.5975 MB / 3.168 GB, free: 301.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002298/6.108, allocations: 91.41 kB / 3.168 GB, free: 301.8 MB / 0.948 GB Notification: Performance of SimCode: time 7.81e-07/6.108, allocations: 0 / 3.168 GB, free: 301.8 MB / 0.948 GB Notification: Performance of Templates: time 0.02832/6.137, allocations: 17.03 MB / 3.184 GB, free: 284.9 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe 2>&1)