Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.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.DC.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.DC.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.756/2.756, allocations: 287.3 MB / 302.3 MB, free: 8.359 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.001496/0.001496, allocations: 189 kB / 370.8 MB, free: 10.83 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.317/2.317, allocations: 205.4 MB / 0.6295 GB, free: 10.56 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.001181/0.001181, allocations: 96.5 kB / 0.7428 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000485/0.0004853, allocations: 11.16 kB / 0.8656 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2205, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.WindTurbine): time 0.009099/0.2296, allocations: 5.787 MB / 0.9838 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.9129/1.143, allocations: 128.4 MB / 1.109 GB, free: 1.82 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001609/1.144, allocations: 21.72 kB / 1.109 GB, free: 1.812 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001372/1.146, allocations: 186.3 kB / 1.109 GB, free: 1.762 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.00452/1.15, allocations: 0.5988 MB / 1.11 GB, free: 1.715 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005805/1.156, allocations: 0.7861 MB / 1.111 GB, free: 1.684 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.004593/1.161, allocations: 0.9899 MB / 1.112 GB, free: 1.629 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003/1.164, allocations: 0.8678 MB / 1.113 GB, free: 1.363 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001853/1.166, allocations: 417.5 kB / 1.113 GB, free: 1.27 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002044/1.168, allocations: 448.4 kB / 1.113 GB, free: 1.156 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0005363/1.168, allocations: 35.84 kB / 1.113 GB, free: 1.156 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002446/1.171, allocations: 305.2 kB / 1.114 GB, free: 1.152 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001008/1.172, allocations: 271.2 kB / 1.114 GB, free: 1.105 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008837/1.173, allocations: 236.5 kB / 1.114 GB, free: 1.031 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.005351/1.178, allocations: 1.38 MB / 1.116 GB, free: 0.9141 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/1.178, allocations: 0 / 1.116 GB, free: 0.9141 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.418e-06/1.178, allocations: 0 / 1.116 GB, free: 0.9141 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.685e-05/1.179, allocations: 1.859 kB / 1.116 GB, free: 0.9141 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: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.006794/1.185, allocations: 1.407 MB / 1.117 GB, free: 16.07 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.974e-05/1.185, allocations: 15.3 kB / 1.117 GB, free: 16.07 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003661/1.189, allocations: 278.7 kB / 1.117 GB, free: 15.98 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003815/1.193, allocations: 0.8676 MB / 1.118 GB, free: 15.66 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001423/1.193, allocations: 77.34 kB / 1.118 GB, free: 15.64 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003705/1.194, allocations: 102.5 kB / 1.118 GB, free: 15.64 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004969/1.199, allocations: 1.148 MB / 1.119 GB, free: 15.42 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.472e-05/1.199, allocations: 3.938 kB / 1.119 GB, free: 15.42 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002618/1.199, allocations: 40.94 kB / 1.119 GB, free: 15.42 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001446/1.199, allocations: 63.62 kB / 1.119 GB, free: 15.41 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00421/1.203, allocations: 1.282 MB / 1.121 GB, free: 15.4 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0106/1.214, allocations: 4.337 MB / 1.125 GB, free: 13.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002622/1.217, allocations: 0.8129 MB / 1.126 GB, free: 13.36 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001191/1.217, allocations: 34.94 kB / 1.126 GB, free: 13.36 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001215/1.218, allocations: 465.4 kB / 1.126 GB, free: 13.25 MB / 0.698 GB Notification: Performance of pre-optimization done (n=80): time 4.83e-06/1.218, allocations: 0 / 1.126 GB, free: 13.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=80): time 0.003594/1.222, allocations: 1.09 MB / 1.127 GB, free: 13.04 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001831/1.222, allocations: 297.6 kB / 1.128 GB, free: 12.69 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001878/1.224, allocations: 0.8946 MB / 1.128 GB, free: 12.53 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002455/1.224, allocations: 44.73 kB / 1.128 GB, free: 12.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006245/1.225, allocations: 0.5275 MB / 1.129 GB, free: 12.27 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004142/1.225, allocations: 271.5 kB / 1.129 GB, free: 12.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.239e-05/1.225, allocations: 13.34 kB / 1.129 GB, free: 12.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001543/1.225, allocations: 334.9 kB / 1.13 GB, free: 11.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008605/1.226, allocations: 249.3 kB / 1.13 GB, free: 11.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/1.227, allocations: 444.3 kB / 1.13 GB, free: 11.61 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009595/1.228, allocations: 316.6 kB / 1.131 GB, free: 11.59 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/1.228, allocations: 0 / 1.131 GB, free: 11.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002762/1.231, allocations: 0.8287 MB / 1.131 GB, free: 11.46 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005175/1.232, allocations: 1.057 MB / 1.132 GB, free: 10.35 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/1.232, allocations: 2.75 kB / 1.132 GB, free: 10.35 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002928/1.232, allocations: 37.59 kB / 1.132 GB, free: 10.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001587/1.234, allocations: 168.3 kB / 1.133 GB, free: 10.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001817/1.235, allocations: 1.297 MB / 1.134 GB, free: 9.016 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00177/1.237, allocations: 102.9 kB / 1.134 GB, free: 8.969 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002875/1.238, allocations: 30.92 kB / 1.134 GB, free: 8.965 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/1.238, allocations: 3.688 kB / 1.134 GB, free: 8.965 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003/1.241, allocations: 0.7003 MB / 1.135 GB, free: 8.844 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/1.241, allocations: 3.375 kB / 1.135 GB, free: 8.844 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/1.241, allocations: 10.22 kB / 1.135 GB, free: 8.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001672/1.242, allocations: 171.7 kB / 1.135 GB, free: 8.809 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.837e-05/1.243, allocations: 9.844 kB / 1.135 GB, free: 8.805 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/1.244, allocations: 104.2 kB / 1.135 GB, free: 8.754 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001589/1.244, allocations: 37.77 kB / 1.135 GB, free: 8.746 MB / 0.698 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.001121/1.245, allocations: 400.8 kB / 1.135 GB, free: 8.527 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004134/1.246, allocations: 106 kB / 1.135 GB, free: 8.473 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003247/1.249, allocations: 0.9789 MB / 1.136 GB, free: 8.203 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-05/1.249, allocations: 13.69 kB / 1.136 GB, free: 8.199 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/1.249, allocations: 5.719 kB / 1.136 GB, free: 8.195 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/1.249, allocations: 13.81 kB / 1.136 GB, free: 8.184 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002704/1.252, allocations: 1.295 MB / 1.138 GB, free: 7.508 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/1.252, allocations: 1.156 kB / 1.138 GB, free: 7.508 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001328/1.253, allocations: 155.5 kB / 1.138 GB, free: 7.477 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001878/1.253, allocations: 31.16 kB / 1.138 GB, free: 7.461 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.902e-05/1.254, allocations: 21.73 kB / 1.138 GB, free: 7.457 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001295/1.255, allocations: 1.285 MB / 1.139 GB, free: 6.164 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.391e-06/1.255, allocations: 5.234 kB / 1.139 GB, free: 6.16 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00273/1.258, allocations: 0.8952 MB / 1.14 GB, free: 5.867 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007578/1.258, allocations: 309.3 kB / 1.14 GB, free: 5.66 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002087/1.259, allocations: 19.98 kB / 1.14 GB, free: 5.656 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001104/1.26, allocations: 69.73 kB / 1.14 GB, free: 5.641 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001998/1.26, allocations: 62.44 kB / 1.14 GB, free: 5.613 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/1.26, allocations: 32.61 kB / 1.141 GB, free: 5.609 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001419/1.262, allocations: 0.6329 MB / 1.141 GB, free: 5.398 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.11e-07/1.262, allocations: 1.969 kB / 1.141 GB, free: 5.398 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002231/1.264, allocations: 0.5043 MB / 1.142 GB, free: 5.297 MB / 0.698 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.001772/1.266, allocations: 0.5669 MB / 1.142 GB, free: 5.043 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00356/1.269, allocations: 1.156 MB / 1.143 GB, free: 4.75 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/1.269, allocations: 2.984 kB / 1.143 GB, free: 4.75 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001259/1.271, allocations: 493.2 kB / 1.144 GB, free: 4.57 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002264/1.273, allocations: 289.8 kB / 1.144 GB, free: 4.484 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005955/1.279, allocations: 2.472 MB / 1.146 GB, free: 3.086 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001109/1.28, allocations: 1.158 MB / 1.148 GB, free: 2.191 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002402/1.282, allocations: 402.6 kB / 1.148 GB, free: 1.996 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004769/1.283, allocations: 112.6 kB / 1.148 GB, free: 1.973 MB / 0.698 GB Notification: Performance of SimCode: time 1.162e-06/1.283, allocations: 0 / 1.148 GB, free: 1.973 MB / 0.698 GB Notification: Performance of Templates: time 0.04856/1.331, allocations: 14.25 MB / 1.162 GB, free: 10.99 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe 2>&1)