Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.722/2.722, allocations: 287.3 MB / 302.3 MB, free: 8.332 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.001598/0.001598, allocations: 177.1 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.148/2.148, allocations: 205.4 MB / 0.6295 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001103/0.001103, allocations: 104.6 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006392/0.0006393, allocations: 15.03 kB / 0.8656 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2309, allocations: 115.3 MB / 0.9782 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine): time 0.009503/0.2404, allocations: 6.08 MB / 0.9841 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8836/1.124, allocations: 128.8 MB / 1.11 GB, free: 1.785 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001222/1.125, allocations: 21.97 kB / 1.11 GB, free: 1.777 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001019/1.126, allocations: 190.7 kB / 1.11 GB, free: 1.723 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.003422/1.13, allocations: 0.6566 MB / 1.111 GB, free: 1.672 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004215/1.134, allocations: 0.8457 MB / 1.112 GB, free: 1.633 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003119/1.137, allocations: 1.021 MB / 1.113 GB, free: 1.582 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003774/1.141, allocations: 1.262 MB / 1.114 GB, free: 1.277 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001448/1.143, allocations: 442.4 kB / 1.114 GB, free: 1.18 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001683/1.144, allocations: 481 kB / 1.115 GB, free: 1.062 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004927/1.145, allocations: 37.38 kB / 1.115 GB, free: 1.062 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001867/1.147, allocations: 359.2 kB / 1.115 GB, free: 1.055 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0008266/1.148, allocations: 301.7 kB / 1.115 GB, free: 1.008 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0006697/1.148, allocations: 248.2 kB / 1.116 GB, free: 0.9297 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003945/1.152, allocations: 1.529 MB / 1.117 GB, free: 0.8086 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/1.152, allocations: 0 / 1.117 GB, free: 0.8086 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.894e-06/1.152, allocations: 0 / 1.117 GB, free: 0.8086 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.107e-05/1.152, allocations: 0 / 1.117 GB, free: 0.8086 MB / 0.6823 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.005322/1.158, allocations: 1.477 MB / 1.118 GB, free: 15.93 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.762e-05/1.158, allocations: 9.203 kB / 1.118 GB, free: 15.93 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003922/1.162, allocations: 301.2 kB / 1.119 GB, free: 15.85 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003885/1.166, allocations: 0.9131 MB / 1.12 GB, free: 15.51 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001605/1.166, allocations: 76.3 kB / 1.12 GB, free: 15.51 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005802/1.167, allocations: 102.6 kB / 1.12 GB, free: 15.51 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005939/1.173, allocations: 1.305 MB / 1.121 GB, free: 15.25 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-05/1.173, allocations: 3.938 kB / 1.121 GB, free: 15.24 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002993/1.173, allocations: 47.09 kB / 1.121 GB, free: 15.24 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002061/1.173, allocations: 63.45 kB / 1.121 GB, free: 15.24 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006652/1.18, allocations: 1.458 MB / 1.123 GB, free: 15.22 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01629/1.196, allocations: 4.709 MB / 1.127 GB, free: 12.87 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004474/1.201, allocations: 1.014 MB / 1.128 GB, free: 12.79 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00044/1.201, allocations: 118.9 kB / 1.128 GB, free: 12.69 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002507/1.204, allocations: 0.5762 MB / 1.129 GB, free: 12.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=94): time 7.404e-06/1.204, allocations: 0 / 1.129 GB, free: 12.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=95): time 0.01266/1.217, allocations: 2.122 MB / 1.131 GB, free: 11.88 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002209/1.217, allocations: 245.8 kB / 1.131 GB, free: 11.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003249/1.22, allocations: 0.8963 MB / 1.132 GB, free: 11.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004225/1.221, allocations: 45.14 kB / 1.132 GB, free: 11.27 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001012/1.222, allocations: 0.536 MB / 1.133 GB, free: 10.99 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008231/1.223, allocations: 322.8 kB / 1.133 GB, free: 10.76 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/1.223, allocations: 18.47 kB / 1.133 GB, free: 10.76 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002432/1.223, allocations: 348 kB / 1.133 GB, free: 10.44 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001846/1.225, allocations: 350.6 kB / 1.134 GB, free: 10.38 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002451/1.227, allocations: 0.5316 MB / 1.134 GB, free: 10.14 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002335/1.23, allocations: 441.6 kB / 1.135 GB, free: 10.07 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.395e-05/1.23, allocations: 0 / 1.135 GB, free: 10.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.006564/1.236, allocations: 1.213 MB / 1.136 GB, free: 9.766 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007731/1.237, allocations: 1.236 MB / 1.137 GB, free: 8.473 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.702e-05/1.237, allocations: 7.375 kB / 1.137 GB, free: 8.469 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00289/1.24, allocations: 265.7 kB / 1.137 GB, free: 8.363 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002383/1.243, allocations: 208.8 kB / 1.137 GB, free: 8.316 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00666/1.249, allocations: 2.031 MB / 1.139 GB, free: 6.816 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002325/1.252, allocations: 103.6 kB / 1.14 GB, free: 6.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003876/1.252, allocations: 37.39 kB / 1.14 GB, free: 6.766 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/1.252, allocations: 3.812 kB / 1.14 GB, free: 6.766 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004314/1.257, allocations: 0.8885 MB / 1.14 GB, free: 6.625 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.096e-05/1.257, allocations: 7.688 kB / 1.14 GB, free: 6.621 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.736e-05/1.257, allocations: 7.656 kB / 1.14 GB, free: 6.621 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002419/1.259, allocations: 213.8 kB / 1.141 GB, free: 6.574 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.999e-05/1.259, allocations: 11.06 kB / 1.141 GB, free: 6.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002261/1.261, allocations: 103.2 kB / 1.141 GB, free: 6.523 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003702/1.262, allocations: 42.67 kB / 1.141 GB, free: 6.516 MB / 0.698 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.001774/1.264, allocations: 424.5 kB / 1.141 GB, free: 6.289 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006527/1.264, allocations: 108 kB / 1.141 GB, free: 6.234 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007694/1.272, allocations: 1.387 MB / 1.143 GB, free: 5.844 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.405e-05/1.272, allocations: 11 kB / 1.143 GB, free: 5.844 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.454e-05/1.272, allocations: 3.953 kB / 1.143 GB, free: 5.84 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-05/1.272, allocations: 9.422 kB / 1.143 GB, free: 5.832 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01158/1.284, allocations: 2.675 MB / 1.145 GB, free: 4.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.493e-05/1.284, allocations: 1.281 kB / 1.145 GB, free: 4.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002164/1.286, allocations: 199.2 kB / 1.145 GB, free: 4.773 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001937/1.288, allocations: 212 kB / 1.146 GB, free: 4.695 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003031/1.289, allocations: 25.3 kB / 1.146 GB, free: 4.691 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004568/1.293, allocations: 1.872 MB / 1.148 GB, free: 3.262 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.106e-05/1.293, allocations: 6.641 kB / 1.148 GB, free: 3.258 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006537/1.3, allocations: 1.482 MB / 1.149 GB, free: 2.609 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001591/1.301, allocations: 344.5 kB / 1.149 GB, free: 2.391 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005762/1.302, allocations: 27.08 kB / 1.149 GB, free: 2.387 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002385/1.304, allocations: 92.94 kB / 1.149 GB, free: 2.359 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005023/1.305, allocations: 75.05 kB / 1.15 GB, free: 2.332 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002005/1.305, allocations: 36.86 kB / 1.15 GB, free: 2.328 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002333/1.308, allocations: 0.6293 MB / 1.15 GB, free: 2.125 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.655e-06/1.308, allocations: 0 / 1.15 GB, free: 2.125 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004882/1.313, allocations: 467.4 kB / 1.151 GB, free: 2.098 MB / 0.698 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.00304/1.316, allocations: 0.5698 MB / 1.151 GB, free: 1.852 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.007706/1.323, allocations: 1.541 MB / 1.153 GB, free: 1.484 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-05/1.323, allocations: 2.688 kB / 1.153 GB, free: 1.484 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00303/1.327, allocations: 0.6563 MB / 1.153 GB, free: 1.27 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003994/1.331, allocations: 297.2 kB / 1.154 GB, free: 1.18 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01114/1.342, allocations: 2.806 MB / 1.156 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002421/1.344, allocations: 1.214 MB / 1.158 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.004266/1.349, allocations: 453.1 kB / 1.158 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001036/1.35, allocations: 121.7 kB / 1.158 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of SimCode: time 1.693e-06/1.35, allocations: 0 / 1.158 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of Templates: time 0.06698/1.417, allocations: 16.72 MB / 1.174 GB, free: 5.18 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe 2>&1)