Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.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.DC.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.DC.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Sources.Examples.WindTurbine") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.344/1.344, allocations: 289.8 MB / 297 MB, free: 6.586 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.0009124/0.0009124, allocations: 173.3 kB / 366.3 MB, free: 1.941 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.014/1.014, allocations: 205.2 MB / 0.6256 GB, free: 5.781 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.0007596/0.0007596, allocations: 76.47 kB / 0.7395 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.582e-06/6.602e-06, allocations: 4 kB / 0.859 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3886/0.3886, allocations: 116.3 MB / 0.9725 GB, free: 68.4 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.951/3.339, allocations: 2.102 GB / 3.074 GB, free: 353.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/3.34, allocations: 108.2 kB / 3.074 GB, free: 353.1 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd: time 0.1032/3.443, allocations: 51.16 MB / 3.124 GB, free: 311.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.495e-05/3.443, allocations: 31.94 kB / 3.124 GB, free: 311.1 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: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.00174/3.445, allocations: 1.333 MB / 3.126 GB, free: 309.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 2.91e-05/3.445, allocations: 8.031 kB / 3.126 GB, free: 309.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001199/3.446, allocations: 286 kB / 3.126 GB, free: 309.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/3.447, allocations: 0.795 MB / 3.127 GB, free: 308.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.057e-05/3.447, allocations: 35.98 kB / 3.127 GB, free: 308.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.894e-05/3.447, allocations: 56 kB / 3.127 GB, free: 308.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001345/3.449, allocations: 1.179 MB / 3.128 GB, free: 307.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/3.45, allocations: 0.9829 MB / 3.129 GB, free: 306.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/3.45, allocations: 4 kB / 3.129 GB, free: 306.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.369e-05/3.45, allocations: 4 kB / 3.129 GB, free: 306.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-05/3.45, allocations: 49.98 kB / 3.129 GB, free: 306.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004099/3.454, allocations: 4.203 MB / 3.133 GB, free: 301.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008207/3.455, allocations: 0.7056 MB / 3.134 GB, free: 301.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003832/3.455, allocations: 294.8 kB / 3.134 GB, free: 300.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.69e-05/3.455, allocations: 40.61 kB / 3.134 GB, free: 300.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004223/3.456, allocations: 404.7 kB / 3.134 GB, free: 300.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=80): time 2.024e-06/3.456, allocations: 4 kB / 3.134 GB, free: 300.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=80): time 0.0009187/3.457, allocations: 0.6518 MB / 3.135 GB, free: 299.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.921e-05/3.457, allocations: 346.8 kB / 3.135 GB, free: 299.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007119/3.457, allocations: 0.7702 MB / 3.136 GB, free: 298.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.843e-05/3.457, allocations: 29.7 kB / 3.136 GB, free: 298.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/3.458, allocations: 403.5 kB / 3.137 GB, free: 298.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000113/3.458, allocations: 252.2 kB / 3.137 GB, free: 297.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.057e-05/3.458, allocations: 4.062 kB / 3.137 GB, free: 297.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 4.737e-05/3.458, allocations: 334 kB / 3.137 GB, free: 297.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002655/3.458, allocations: 209.5 kB / 3.137 GB, free: 297.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003417/3.458, allocations: 401.5 kB / 3.138 GB, free: 296.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003435/3.459, allocations: 285.7 kB / 3.138 GB, free: 296.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/3.459, allocations: 3.906 kB / 3.138 GB, free: 296.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0009221/3.46, allocations: 0.721 MB / 3.139 GB, free: 295.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001255/3.46, allocations: 0.963 MB / 3.14 GB, free: 294.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/3.46, allocations: 4 kB / 3.14 GB, free: 294.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001299/3.46, allocations: 24.84 kB / 3.14 GB, free: 294.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006135/3.461, allocations: 171.8 kB / 3.14 GB, free: 294.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002207/3.461, allocations: 0.5445 MB / 3.14 GB, free: 294 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005654/3.461, allocations: 87.36 kB / 3.14 GB, free: 293.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.247e-05/3.462, allocations: 35.98 kB / 3.14 GB, free: 293.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.298e-06/3.462, allocations: 0 / 3.14 GB, free: 293.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007476/3.462, allocations: 0.5828 MB / 3.141 GB, free: 293.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.815e-06/3.462, allocations: 0 / 3.141 GB, free: 293.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.301e-06/3.462, allocations: 8 kB / 3.141 GB, free: 293.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006183/3.463, allocations: 175.7 kB / 3.141 GB, free: 293.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/3.463, allocations: 8 kB / 3.141 GB, free: 293.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005247/3.463, allocations: 75.7 kB / 3.141 GB, free: 293 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.326e-05/3.464, allocations: 31.98 kB / 3.141 GB, free: 293 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (94): * Single equations (assignments): 93 * 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.0001249/3.464, allocations: 142.1 kB / 3.141 GB, free: 292.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/3.464, allocations: 98.78 kB / 3.142 GB, free: 292.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001365/3.465, allocations: 0.8886 MB / 3.142 GB, free: 291.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/3.465, allocations: 8 kB / 3.142 GB, free: 291.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/3.465, allocations: 8 kB / 3.142 GB, free: 291.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/3.465, allocations: 11.97 kB / 3.142 GB, free: 291.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002049/3.467, allocations: 2.089 MB / 3.144 GB, free: 289.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/3.467, allocations: 4.125 kB / 3.144 GB, free: 289.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005638/3.468, allocations: 159.8 kB / 3.145 GB, free: 289.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.696e-05/3.468, allocations: 24.78 kB / 3.145 GB, free: 289.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.155e-05/3.468, allocations: 15.98 kB / 3.145 GB, free: 289.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005251/3.469, allocations: 1.221 MB / 3.146 GB, free: 288.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/3.469, allocations: 0 / 3.146 GB, free: 288.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008795/3.469, allocations: 0.9037 MB / 3.147 GB, free: 287.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003225/3.47, allocations: 315.5 kB / 3.147 GB, free: 286.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/3.47, allocations: 4 kB / 3.147 GB, free: 286.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005802/3.47, allocations: 63.94 kB / 3.147 GB, free: 286.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.254e-05/3.471, allocations: 60.59 kB / 3.147 GB, free: 286.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.968e-05/3.471, allocations: 31.98 kB / 3.147 GB, free: 286.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0005065/3.471, allocations: 0.6007 MB / 3.148 GB, free: 286.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009938/3.472, allocations: 0.5136 MB / 3.148 GB, free: 285.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 89 * 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.000761/3.473, allocations: 484.3 kB / 3.149 GB, free: 285.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001106/3.474, allocations: 0.97 MB / 3.15 GB, free: 284.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/3.474, allocations: 0 / 3.15 GB, free: 284.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004321/3.474, allocations: 444.6 kB / 3.15 GB, free: 283.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009584/3.475, allocations: 266.5 kB / 3.15 GB, free: 283.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002255/3.478, allocations: 1.579 MB / 3.152 GB, free: 281.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007238/3.478, allocations: 1.283 MB / 3.153 GB, free: 280.5 MB / 0.948 GB Notification: Performance of SimCode: time 2.3e-07/3.478, allocations: 3.938 kB / 3.153 GB, free: 280.5 MB / 0.948 GB Notification: Performance of Templates: time 0.02649/3.505, allocations: 19.39 MB / 3.172 GB, free: 261.2 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Sources.Examples.WindTurbine.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Sources.Examples.WindTurbine.sim & ./Buildings_8_Buildings.Electrical.DC.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe 2>&1)