Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.DC.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.586/1.586, allocations: 297.8 MB / 313.7 MB, free: 132 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009905/0.0009904, allocations: 179.5 kB / 384.6 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 223.2 MB / 0.6626 GB, free: 4.32 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007975/0.0007975, allocations: 99.11 kB / 0.7808 GB, free: 43.81 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004018/0.0004019, allocations: 17.02 kB / 0.9088 GB, free: 0.668 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5832/0.5836, allocations: 120.3 MB / 1.026 GB, free: 57.14 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.451/4.035, allocations: 1.753 GB / 2.779 GB, free: 34.59 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/4.035, allocations: 105 kB / 2.779 GB, free: 34.49 MB / 0.9792 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Electrical/Interfaces/Source.mo:28:9-28: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 9.0.0-master/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 9.0.0-master/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 - DAE generated: time 0.5875/4.622, allocations: 54.62 MB / 2.833 GB, free: 307.3 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.074e-06/4.622, allocations: 0 / 2.833 GB, free: 307.3 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0001436/4.623, allocations: 30.12 kB / 2.833 GB, free: 307.3 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.003398/4.626, allocations: 1.482 MB / 2.834 GB, free: 306.4 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/4.626, allocations: 8.344 kB / 2.834 GB, free: 306.4 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001725/4.628, allocations: 276 kB / 2.834 GB, free: 306.3 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00188/4.63, allocations: 0.8387 MB / 2.835 GB, free: 306 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-05/4.63, allocations: 72.25 kB / 2.835 GB, free: 306 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002394/4.63, allocations: 98.09 kB / 2.835 GB, free: 306 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002415/4.632, allocations: 1.164 MB / 2.836 GB, free: 305.8 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.852e-05/4.632, allocations: 4.5 kB / 2.836 GB, free: 305.8 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/4.633, allocations: 51.08 kB / 2.837 GB, free: 305.8 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.491e-05/4.633, allocations: 49.11 kB / 2.837 GB, free: 305.8 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002063/4.635, allocations: 1.302 MB / 2.838 GB, free: 305.7 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005143/4.64, allocations: 4.385 MB / 2.842 GB, free: 303.4 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001261/4.641, allocations: 0.8126 MB / 2.843 GB, free: 303.1 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005215/4.642, allocations: 344.3 kB / 2.843 GB, free: 303 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 6.876e-05/4.642, allocations: 30.5 kB / 2.843 GB, free: 303 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006333/4.642, allocations: 473.2 kB / 2.844 GB, free: 302.8 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=80): time 2.845e-06/4.642, allocations: 0 / 2.844 GB, free: 302.8 MB / 0.9792 GB Notification: Performance of matching and sorting (n=80): time 0.001858/4.644, allocations: 1.094 MB / 2.845 GB, free: 302.3 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.105e-05/4.644, allocations: 351.8 kB / 2.845 GB, free: 301.9 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/4.645, allocations: 0.99 MB / 2.846 GB, free: 301.5 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 5.297e-05/4.645, allocations: 40.3 kB / 2.846 GB, free: 301.5 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002886/4.646, allocations: 0.5293 MB / 2.847 GB, free: 301 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/4.646, allocations: 264.7 kB / 2.847 GB, free: 300.8 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/4.646, allocations: 15.25 kB / 2.847 GB, free: 300.8 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 7.173e-05/4.646, allocations: 342.5 kB / 2.847 GB, free: 300.5 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003966/4.646, allocations: 240.7 kB / 2.847 GB, free: 300.4 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005072/4.647, allocations: 444.3 kB / 2.848 GB, free: 300.1 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008698/4.648, allocations: 0.6553 MB / 2.849 GB, free: 299.8 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/4.648, allocations: 0 / 2.849 GB, free: 299.8 MB / 0.9792 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001209/4.649, allocations: 0.8212 MB / 2.849 GB, free: 299.5 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 6.557e-05/4.649, allocations: 170.8 kB / 2.85 GB, free: 299.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/4.649, allocations: 3.156 kB / 2.85 GB, free: 299.3 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001865/4.649, allocations: 32.97 kB / 2.85 GB, free: 299.3 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005869/4.65, allocations: 170.9 kB / 2.85 GB, free: 299.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008608/4.651, allocations: 1.288 MB / 2.851 GB, free: 298 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005875/4.651, allocations: 116.2 kB / 2.851 GB, free: 297.9 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-05/4.651, allocations: 34.11 kB / 2.851 GB, free: 297.9 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 5.03e-06/4.651, allocations: 3.312 kB / 2.851 GB, free: 297.9 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001008/4.652, allocations: 0.6876 MB / 2.852 GB, free: 297.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/4.652, allocations: 3 kB / 2.852 GB, free: 297.7 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.7e-06/4.652, allocations: 6.125 kB / 2.852 GB, free: 297.7 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005725/4.653, allocations: 173.3 kB / 2.852 GB, free: 297.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.393e-06/4.653, allocations: 13.88 kB / 2.852 GB, free: 297.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000486/4.654, allocations: 101.9 kB / 2.852 GB, free: 297.6 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.822e-05/4.654, allocations: 29.73 kB / 2.852 GB, free: 297.6 MB / 0.9792 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 () * Number of clocked 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.0004627/4.654, allocations: 411.3 kB / 2.853 GB, free: 297.3 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/4.654, allocations: 104 kB / 2.853 GB, free: 297.2 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001529/4.656, allocations: 0.9808 MB / 2.854 GB, free: 296.9 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/4.656, allocations: 9.5 kB / 2.854 GB, free: 296.9 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/4.656, allocations: 7.062 kB / 2.854 GB, free: 296.8 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.457e-06/4.656, allocations: 3.375 kB / 2.854 GB, free: 296.8 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002623/4.658, allocations: 2.351 MB / 2.856 GB, free: 295.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/4.658, allocations: 0 / 2.856 GB, free: 295.6 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005208/4.659, allocations: 156.1 kB / 2.856 GB, free: 295.6 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.945e-05/4.659, allocations: 27.62 kB / 2.856 GB, free: 295.6 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.471e-05/4.659, allocations: 28.25 kB / 2.856 GB, free: 295.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005913/4.66, allocations: 1.275 MB / 2.857 GB, free: 294.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/4.66, allocations: 3.031 kB / 2.857 GB, free: 294.3 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/4.661, allocations: 0.9588 MB / 2.858 GB, free: 293.8 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003425/4.661, allocations: 335 kB / 2.859 GB, free: 293.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/4.661, allocations: 22.69 kB / 2.859 GB, free: 293.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005223/4.662, allocations: 76.62 kB / 2.859 GB, free: 293.5 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/4.662, allocations: 64.66 kB / 2.859 GB, free: 293.5 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-05/4.662, allocations: 29.81 kB / 2.859 GB, free: 293.5 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0007319/4.663, allocations: 0.7061 MB / 2.859 GB, free: 293.2 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1e-07/4.663, allocations: 0 / 2.859 GB, free: 293.2 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.001351/4.664, allocations: 0.5768 MB / 2.86 GB, free: 293.1 MB / 0.9792 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) * Number of clocked states: 0 () * 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.00126/4.666, allocations: 0.6755 MB / 2.861 GB, free: 292.8 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001638/4.667, allocations: 1.158 MB / 2.862 GB, free: 292.4 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/4.667, allocations: 0 / 2.862 GB, free: 292.4 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0005471/4.668, allocations: 497.7 kB / 2.862 GB, free: 292.2 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/4.669, allocations: 299.7 kB / 2.863 GB, free: 292.1 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002742/4.672, allocations: 2.549 MB / 2.865 GB, free: 290.6 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004997/4.672, allocations: 1.142 MB / 2.866 GB, free: 289.9 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.001093/4.673, allocations: 404.1 kB / 2.867 GB, free: 289.8 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002186/4.674, allocations: 112.7 kB / 2.867 GB, free: 289.8 MB / 0.9792 GB Notification: Performance of SimCode: time 3.51e-07/4.674, allocations: 0 / 2.867 GB, free: 289.8 MB / 0.9792 GB Notification: Performance of Templates: time 0.02929/4.703, allocations: 15.33 MB / 2.882 GB, free: 288.6 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Sources.Examples.WindTurbine.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Sources.Examples.WindTurbine.sim & ./Buildings_latest_Buildings.Electrical.DC.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe 2>&1)