Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.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.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.624/1.624, allocations: 297.8 MB / 313.7 MB, free: 164 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.0009581/0.000958, allocations: 184.5 kB / 384.6 MB, free: 10.89 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.357/1.357, allocations: 223.2 MB / 0.6626 GB, free: 4.371 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.0008461/0.0008461, allocations: 91.45 kB / 0.7808 GB, free: 43.81 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004386/0.0004389, allocations: 16 kB / 0.9088 GB, free: 0.707 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6491/0.6496, allocations: 120.3 MB / 1.026 GB, free: 56.73 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.554/4.204, allocations: 1.783 GB / 2.81 GB, free: 2.02 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/4.204, allocations: 120.8 kB / 2.81 GB, free: 1.902 MB / 0.9792 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Electrical/Transmission/BaseClasses/PartialBaseLine.mo:30:3-37:42:writable] Notification: Moving binding to initial equation section and setting fixed attribute of line.commercialCable.RCha to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Electrical/Transmission/BaseClasses/PartialBaseLine.mo:30:3-37:42:writable] Notification: Moving binding to initial equation section and setting fixed attribute of line.commercialCable.XCha to false. Notification: Performance of FrontEnd - DAE generated: time 0.7215/4.926, allocations: 154.4 MB / 2.961 GB, free: 247.6 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.534e-06/4.926, allocations: 0 / 2.961 GB, free: 247.6 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0002587/4.926, allocations: 79.94 kB / 2.961 GB, free: 247.5 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: 812 * Number of variables: 812 Notification: Performance of Generate backend data structure: time 0.00755/4.933, allocations: 3.314 MB / 2.964 GB, free: 244.1 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/4.934, allocations: 8.031 kB / 2.964 GB, free: 244.1 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004213/4.938, allocations: 0.841 MB / 2.965 GB, free: 243.3 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003523/4.941, allocations: 2.199 MB / 2.967 GB, free: 241 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001137/4.941, allocations: 230.1 kB / 2.967 GB, free: 240.8 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004149/4.942, allocations: 303.9 kB / 2.967 GB, free: 240.5 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006023/4.948, allocations: 4.385 MB / 2.972 GB, free: 236 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-05/4.948, allocations: 11.83 kB / 2.972 GB, free: 235.9 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002981/4.948, allocations: 132 kB / 2.972 GB, free: 235.8 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001235/4.948, allocations: 166 kB / 2.972 GB, free: 235.7 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005161/4.954, allocations: 3.993 MB / 2.976 GB, free: 231.7 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01653/4.97, allocations: 18.62 MB / 2.994 GB, free: 211.6 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002073/4.972, allocations: 1.809 MB / 2.996 GB, free: 209.8 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001013/4.973, allocations: 0.9529 MB / 2.997 GB, free: 208.8 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001474/4.973, allocations: 134.3 kB / 2.997 GB, free: 208.7 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001183/4.975, allocations: 1.092 MB / 2.998 GB, free: 207.5 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=147): time 3.968e-06/4.975, allocations: 0 / 2.998 GB, free: 207.5 MB / 0.9792 GB Notification: Performance of matching and sorting (n=182): time 0.02578/5, allocations: 13.93 MB / 3.011 GB, free: 193.4 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/5.001, allocations: 0.5847 MB / 3.012 GB, free: 192.7 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002462/5.003, allocations: 2.091 MB / 3.014 GB, free: 190.6 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0002005/5.003, allocations: 61.64 kB / 3.014 GB, free: 190.5 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001071/5.004, allocations: 1.475 MB / 3.016 GB, free: 189 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.000368/5.005, allocations: 0.6162 MB / 3.016 GB, free: 188.4 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/5.005, allocations: 44 kB / 3.016 GB, free: 188.4 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.855e-05/5.005, allocations: 386 kB / 3.017 GB, free: 188 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001363/5.006, allocations: 1.101 MB / 3.018 GB, free: 186.9 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001575/5.008, allocations: 1.702 MB / 3.019 GB, free: 184.9 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03986/5.048, allocations: 12.66 MB / 3.032 GB, free: 172 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.227e-05/5.048, allocations: 4 kB / 3.032 GB, free: 172 MB / 0.9792 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.009099/5.057, allocations: 4.548 MB / 3.036 GB, free: 167.5 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002163/5.057, allocations: 0.5188 MB / 3.037 GB, free: 166.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/5.057, allocations: 20 kB / 3.037 GB, free: 166.7 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006302/5.063, allocations: 1.806 MB / 3.038 GB, free: 164.9 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00171/5.065, allocations: 487.2 kB / 3.039 GB, free: 164.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01078/5.076, allocations: 8.764 MB / 3.047 GB, free: 155.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002298/5.078, allocations: 223.6 kB / 3.048 GB, free: 155.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003272/5.079, allocations: 91.97 kB / 3.048 GB, free: 155.1 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 7.544e-06/5.079, allocations: 4 kB / 3.048 GB, free: 155.1 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007526/5.086, allocations: 3.768 MB / 3.051 GB, free: 151.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.802e-05/5.086, allocations: 12 kB / 3.051 GB, free: 151.3 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004116/5.09, allocations: 1.177 MB / 3.053 GB, free: 150.1 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00166/5.092, allocations: 0.4914 MB / 3.053 GB, free: 149.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006345/5.098, allocations: 5.063 MB / 3.058 GB, free: 144.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00209/5.1, allocations: 187.6 kB / 3.058 GB, free: 144.3 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002534/5.101, allocations: 91.97 kB / 3.058 GB, free: 144.2 MB / 0.9792 GB Warning: Assuming fixed start value for the following 2 variables: line.commercialCable.RCha:VARIABLE(start = 0.0 unit = "Ohm/m" fixed = true ) "Characteristic resistance of the cable" type: Real line.commercialCable.XCha:VARIABLE(start = 0.0 unit = "Ohm/m" fixed = true ) "Characteristic reactance of the cable" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (234): * Single equations (assignments): 232 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,76.0%) 11} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.002504/5.103, allocations: 1.233 MB / 3.059 GB, free: 142.9 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006193/5.104, allocations: 229.2 kB / 3.06 GB, free: 142.7 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008805/5.113, allocations: 4.03 MB / 3.064 GB, free: 138.7 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.81e-05/5.113, allocations: 23.98 kB / 3.064 GB, free: 138.6 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/5.113, allocations: 12.12 kB / 3.064 GB, free: 138.6 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.976e-05/5.113, allocations: 7.969 kB / 3.064 GB, free: 138.6 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01544/5.128, allocations: 9.557 MB / 3.073 GB, free: 128.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/5.128, allocations: 4 kB / 3.073 GB, free: 128.9 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001133/5.129, allocations: 339.5 kB / 3.073 GB, free: 128.6 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005638/5.135, allocations: 1.667 MB / 3.075 GB, free: 126.9 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001742/5.135, allocations: 43.98 kB / 3.075 GB, free: 126.9 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01021/5.145, allocations: 8.541 MB / 3.083 GB, free: 118 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/5.145, allocations: 8 kB / 3.083 GB, free: 118 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008345/5.154, allocations: 4.254 MB / 3.088 GB, free: 113.7 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001632/5.155, allocations: 0.6463 MB / 3.088 GB, free: 113 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006459/5.156, allocations: 43.94 kB / 3.088 GB, free: 113 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001818/5.158, allocations: 199.7 kB / 3.088 GB, free: 112.8 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003892/5.158, allocations: 153.7 kB / 3.089 GB, free: 112.6 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001519/5.159, allocations: 60.23 kB / 3.089 GB, free: 112.6 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.002341/5.161, allocations: 1.459 MB / 3.09 GB, free: 111.1 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.71e-07/5.161, allocations: 0 / 3.09 GB, free: 111.1 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.006033/5.167, allocations: 1.316 MB / 3.091 GB, free: 109.8 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (166): * Single equations (assignments): 162 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,80.0%) 11} * Non-linear torn systems: 1 {5 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.002472/5.169, allocations: 0.8889 MB / 3.092 GB, free: 109.1 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.008032/5.177, allocations: 5.04 MB / 3.097 GB, free: 104.1 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/5.178, allocations: 0 / 3.097 GB, free: 104.1 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.00319/5.181, allocations: 1.938 MB / 3.099 GB, free: 102.1 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004659/5.185, allocations: 0.5653 MB / 3.1 GB, free: 101.5 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01162/5.197, allocations: 7.688 MB / 3.107 GB, free: 93.74 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003255/5.2, allocations: 2.409 MB / 3.109 GB, free: 91.3 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.003514/5.204, allocations: 1.005 MB / 3.11 GB, free: 90.29 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007117/5.205, allocations: 191.4 kB / 3.111 GB, free: 90.11 MB / 0.9792 GB Notification: Performance of SimCode: time 7.21e-07/5.205, allocations: 0 / 3.111 GB, free: 90.11 MB / 0.9792 GB Notification: Performance of Templates: time 0.06435/5.269, allocations: 46 MB / 3.155 GB, free: 44.41 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe 2>&1)