Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.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.AC.OnePhase.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.607/1.607, allocations: 297.8 MB / 313.7 MB, free: 144 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.0009818/0.0009819, allocations: 183.4 kB / 384.6 MB, free: 10.88 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.338/1.338, allocations: 223.2 MB / 0.6626 GB, free: 4.27 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.0008187/0.0008185, allocations: 95.8 kB / 0.7808 GB, free: 50.33 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000447/0.0004471, allocations: 12 kB / 0.9088 GB, free: 2.902 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7256/0.7261, allocations: 120.3 MB / 1.026 GB, free: 55.87 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.262/3.988, allocations: 1.754 GB / 2.78 GB, free: 86.24 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/3.988, allocations: 111.9 kB / 2.781 GB, free: 86.13 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 0.1318/4.12, allocations: 62.12 MB / 2.841 GB, free: 24.26 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.394e-06/4.12, allocations: 1.031 kB / 2.841 GB, free: 24.26 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0001391/4.12, allocations: 28 kB / 2.841 GB, free: 24.23 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.003055/4.123, allocations: 1.564 MB / 2.843 GB, free: 22.61 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/4.123, allocations: 11.97 kB / 2.843 GB, free: 22.6 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001604/4.125, allocations: 302.8 kB / 2.843 GB, free: 22.3 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001538/4.127, allocations: 0.8773 MB / 2.844 GB, free: 21.38 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.736e-05/4.127, allocations: 82.5 kB / 2.844 GB, free: 21.3 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002152/4.127, allocations: 108.4 kB / 2.844 GB, free: 21.19 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002098/4.129, allocations: 1.313 MB / 2.845 GB, free: 19.79 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.126e-05/4.129, allocations: 7.875 kB / 2.845 GB, free: 19.78 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.731e-05/4.129, allocations: 48 kB / 2.845 GB, free: 19.73 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.492e-05/4.129, allocations: 60.86 kB / 2.845 GB, free: 19.68 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001884/4.131, allocations: 1.467 MB / 2.847 GB, free: 18.21 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004865/4.136, allocations: 4.759 MB / 2.852 GB, free: 13.21 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/4.137, allocations: 1.013 MB / 2.853 GB, free: 12.18 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005559/4.138, allocations: 432.5 kB / 2.853 GB, free: 11.75 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000198/4.138, allocations: 122.1 kB / 2.853 GB, free: 11.61 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007564/4.139, allocations: 0.5805 MB / 2.854 GB, free: 11.01 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=94): time 2.485e-06/4.139, allocations: 1.031 kB / 2.854 GB, free: 11.01 MB / 0.9792 GB Notification: Performance of matching and sorting (n=95): time 0.004221/4.143, allocations: 2.126 MB / 2.856 GB, free: 8.848 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.95e-05/4.143, allocations: 307.7 kB / 2.856 GB, free: 8.48 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/4.145, allocations: 0.9906 MB / 2.857 GB, free: 7.465 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 6.72e-05/4.145, allocations: 41.7 kB / 2.857 GB, free: 7.418 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003677/4.145, allocations: 0.5467 MB / 2.858 GB, free: 6.863 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001945/4.145, allocations: 319.4 kB / 2.858 GB, free: 6.547 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.896e-05/4.145, allocations: 12 kB / 2.858 GB, free: 6.535 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 6.384e-05/4.145, allocations: 342 kB / 2.858 GB, free: 6.195 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000504/4.146, allocations: 349.8 kB / 2.859 GB, free: 5.852 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006304/4.146, allocations: 0.5464 MB / 2.859 GB, free: 5.242 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/4.148, allocations: 0.8932 MB / 2.86 GB, free: 4.309 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/4.148, allocations: 0 / 2.86 GB, free: 4.309 MB / 0.9792 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002139/4.15, allocations: 1.223 MB / 2.861 GB, free: 3.078 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 6.842e-05/4.15, allocations: 171.6 kB / 2.861 GB, free: 2.863 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/4.15, allocations: 4 kB / 2.861 GB, free: 2.859 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001057/4.151, allocations: 264.5 kB / 2.862 GB, free: 2.598 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007351/4.152, allocations: 203.8 kB / 2.862 GB, free: 2.398 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002202/4.154, allocations: 1.99 MB / 2.864 GB, free: 292 kB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008057/4.155, allocations: 111.3 kB / 2.864 GB, free: 180 kB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.698e-05/4.155, allocations: 35.98 kB / 2.864 GB, free: 144 kB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 6.312e-06/4.155, allocations: 8 kB / 2.864 GB, free: 136 kB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3954/4.55, allocations: 0.8812 MB / 2.865 GB, free: 256.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/4.55, allocations: 2.594 kB / 2.865 GB, free: 256.5 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/4.55, allocations: 7.375 kB / 2.865 GB, free: 256.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007876/4.551, allocations: 211.4 kB / 2.865 GB, free: 256.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/4.551, allocations: 10.16 kB / 2.865 GB, free: 256.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007855/4.552, allocations: 97.97 kB / 2.865 GB, free: 256.5 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.346e-05/4.552, allocations: 38.67 kB / 2.865 GB, free: 256.5 MB / 0.9792 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 () * Number of clocked 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.0007085/4.553, allocations: 431.5 kB / 2.865 GB, free: 256.3 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/4.553, allocations: 112.9 kB / 2.866 GB, free: 256.3 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002556/4.555, allocations: 1.387 MB / 2.867 GB, free: 256.3 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/4.555, allocations: 10.59 kB / 2.867 GB, free: 256.3 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/4.555, allocations: 3.375 kB / 2.867 GB, free: 256.3 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/4.555, allocations: 8.375 kB / 2.867 GB, free: 256.3 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003932/4.559, allocations: 2.724 MB / 2.87 GB, free: 255.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/4.559, allocations: 2.938 kB / 2.87 GB, free: 255.8 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006747/4.56, allocations: 195.8 kB / 2.87 GB, free: 255.8 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007186/4.561, allocations: 207.3 kB / 2.87 GB, free: 255.8 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.408e-05/4.561, allocations: 34.2 kB / 2.87 GB, free: 255.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001683/4.563, allocations: 1.827 MB / 2.872 GB, free: 254.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/4.563, allocations: 2.312 kB / 2.872 GB, free: 254.6 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002155/4.565, allocations: 1.402 MB / 2.873 GB, free: 254.3 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005203/4.565, allocations: 369.4 kB / 2.874 GB, free: 254.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001355/4.565, allocations: 24.55 kB / 2.874 GB, free: 254.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006964/4.566, allocations: 96.02 kB / 2.874 GB, free: 254.1 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/4.566, allocations: 78.25 kB / 2.874 GB, free: 254.1 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.414e-05/4.566, allocations: 38.69 kB / 2.874 GB, free: 254.1 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.000836/4.567, allocations: 0.7111 MB / 2.874 GB, free: 254 MB / 0.9792 GB Notification: Performance of sort global known variables: time 3.11e-07/4.567, allocations: 0 / 2.874 GB, free: 254 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.001452/4.569, allocations: 0.5341 MB / 2.875 GB, free: 254 MB / 0.9792 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.001354/4.57, allocations: 0.692 MB / 2.876 GB, free: 253.9 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.002395/4.572, allocations: 1.539 MB / 2.877 GB, free: 253.8 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/4.573, allocations: 2.75 kB / 2.877 GB, free: 253.8 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0008968/4.573, allocations: 0.6487 MB / 2.878 GB, free: 253.7 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001682/4.575, allocations: 315.8 kB / 2.878 GB, free: 253.7 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00356/4.579, allocations: 2.881 MB / 2.881 GB, free: 252.4 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000584/4.579, allocations: 1.189 MB / 2.882 GB, free: 251.7 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.001432/4.581, allocations: 460.2 kB / 2.882 GB, free: 251.7 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002909/4.581, allocations: 120.2 kB / 2.883 GB, free: 251.7 MB / 0.9792 GB Notification: Performance of SimCode: time 1.042e-06/4.581, allocations: 0 / 2.883 GB, free: 251.7 MB / 0.9792 GB Notification: Performance of Templates: time 0.02849/4.61, allocations: 17.82 MB / 2.9 GB, free: 250.7 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe 2>&1)