Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.323/2.323, allocations: 391.2 MB / 407 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001849/0.001849, allocations: 193.3 kB / 499.1 MB, free: 4.609 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 222.9 MB / 0.7948 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 95.77 kB / 0.9329 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001064/0.001064, allocations: 49.08 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3111, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine): time 0.02091/0.3321, allocations: 20.96 MB / 1.239 GB, free: 96.14 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.1776/0.5097, allocations: 156.1 MB / 1.391 GB, free: 3.5 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003835/0.5137, allocations: 59.75 kB / 1.391 GB, free: 3.441 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.005348/0.5191, allocations: 1.712 MB / 1.393 GB, free: 1.727 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.007346/0.5265, allocations: 1.777 MB / 1.394 GB, free: 15.94 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.007121/0.5336, allocations: 2.081 MB / 1.396 GB, free: 13.88 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.009965/0.5436, allocations: 6.687 MB / 1.403 GB, free: 7.176 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01154/0.5552, allocations: 5.992 MB / 1.409 GB, free: 1.117 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004332/0.5596, allocations: 1.806 MB / 1.411 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004762/0.5643, allocations: 2.363 MB / 1.413 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.001743/0.5661, allocations: 280 kB / 1.413 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003967/0.5701, allocations: 1.159 MB / 1.414 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.003227/0.5734, allocations: 1.527 MB / 1.416 GB, free: 9.969 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.005019/0.5784, allocations: 1.916 MB / 1.418 GB, free: 8.043 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0107/0.5891, allocations: 6.917 MB / 1.424 GB, free: 1.105 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.5892, allocations: 3.938 kB / 1.424 GB, free: 1.102 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.645e-06/0.5892, allocations: 0 / 1.424 GB, free: 1.102 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0002939/0.5895, allocations: 0 / 1.424 GB, free: 1.102 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 823 * Number of variables: 823 Notification: Performance of Generate backend data structure: time 0.6651/1.255, allocations: 4.071 MB / 1.428 GB, free: 201.6 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/1.255, allocations: 12.73 kB / 1.428 GB, free: 201.6 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003844/1.259, allocations: 0.7951 MB / 1.429 GB, free: 201.4 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005331/1.264, allocations: 2.415 MB / 1.432 GB, free: 200.2 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002097/1.264, allocations: 236.5 kB / 1.432 GB, free: 200.1 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005521/1.265, allocations: 303.6 kB / 1.432 GB, free: 200 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009797/1.274, allocations: 4.758 MB / 1.437 GB, free: 198 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.438e-05/1.275, allocations: 7.25 kB / 1.437 GB, free: 198 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003284/1.275, allocations: 131.7 kB / 1.437 GB, free: 197.9 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003921/1.275, allocations: 219.4 kB / 1.437 GB, free: 197.9 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008451/1.284, allocations: 4.319 MB / 1.441 GB, free: 196.5 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02766/1.311, allocations: 19.52 MB / 1.46 GB, free: 180.9 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004038/1.316, allocations: 1.988 MB / 1.462 GB, free: 179.9 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002248/1.318, allocations: 1.113 MB / 1.463 GB, free: 179.3 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003671/1.318, allocations: 140.2 kB / 1.464 GB, free: 179.2 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002133/1.32, allocations: 1.204 MB / 1.465 GB, free: 178.5 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=160): time 1.184e-05/1.32, allocations: 0 / 1.465 GB, free: 178.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=197): time 0.03302/1.353, allocations: 11.05 MB / 1.475 GB, free: 167.8 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.417e-05/1.354, allocations: 304.7 kB / 1.476 GB, free: 167.4 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002619/1.356, allocations: 2.092 MB / 1.478 GB, free: 165.3 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.000368/1.357, allocations: 65.7 kB / 1.478 GB, free: 165.2 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001011/1.358, allocations: 1.489 MB / 1.479 GB, free: 163.7 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005117/1.358, allocations: 0.6497 MB / 1.48 GB, free: 163.1 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005892/1.359, allocations: 411.2 kB / 1.48 GB, free: 162.7 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 4.509e-05/1.359, allocations: 305.1 kB / 1.481 GB, free: 162.4 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001506/1.36, allocations: 1.188 MB / 1.482 GB, free: 161.2 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001741/1.362, allocations: 1.63 MB / 1.483 GB, free: 159.4 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003259/1.365, allocations: 2.877 MB / 1.486 GB, free: 156.4 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/1.365, allocations: 4 kB / 1.486 GB, free: 156.4 MB / 0.9167 GB Notification: Performance of matching and sorting (n=253) (initialization): time 0.0122/1.378, allocations: 5.101 MB / 1.491 GB, free: 151.3 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/1.378, allocations: 9.25 kB / 1.491 GB, free: 151.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/1.378, allocations: 11.98 kB / 1.491 GB, free: 151.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009052/1.387, allocations: 2.299 MB / 1.493 GB, free: 148.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001956/1.389, allocations: 463.2 kB / 1.494 GB, free: 148.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01529/1.404, allocations: 14.11 MB / 1.508 GB, free: 133.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002918/1.407, allocations: 188.3 kB / 1.508 GB, free: 133.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002945/1.407, allocations: 87.95 kB / 1.508 GB, free: 133.3 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003714/1.411, allocations: 2.156 MB / 1.51 GB, free: 131.1 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001641/1.413, allocations: 1.54 MB / 1.512 GB, free: 129.5 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002963/1.416, allocations: 2.705 MB / 1.514 GB, free: 126.6 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.66e-06/1.416, allocations: 7.938 kB / 1.514 GB, free: 126.6 MB / 0.9167 GB Notification: Performance of matching and sorting (n=253) (initialization_lambda0): time 0.009629/1.425, allocations: 4.334 MB / 1.518 GB, free: 122.3 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/1.425, allocations: 16.72 kB / 1.518 GB, free: 122.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/1.425, allocations: 8 kB / 1.518 GB, free: 122.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005798/1.431, allocations: 1.481 MB / 1.52 GB, free: 120.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002006/1.433, allocations: 487.2 kB / 1.52 GB, free: 120.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008227/1.441, allocations: 7.733 MB / 1.528 GB, free: 112.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003197/1.445, allocations: 182 kB / 1.528 GB, free: 112 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004675/1.445, allocations: 83.97 kB / 1.528 GB, free: 111.9 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (235): * Single equations (assignments): 229 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,2), (2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008549/1.446, allocations: 313.4 kB / 1.528 GB, free: 111.6 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007184/1.447, allocations: 233.2 kB / 1.529 GB, free: 111.3 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01224/1.459, allocations: 5.113 MB / 1.534 GB, free: 106.2 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/1.459, allocations: 20 kB / 1.534 GB, free: 106.2 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/1.459, allocations: 4 kB / 1.534 GB, free: 106.2 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.018e-05/1.459, allocations: 11.95 kB / 1.534 GB, free: 106.2 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01717/1.476, allocations: 9.812 MB / 1.543 GB, free: 96.25 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/1.476, allocations: 4 kB / 1.543 GB, free: 96.24 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001395/1.478, allocations: 383.4 kB / 1.544 GB, free: 95.87 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007729/1.485, allocations: 2.115 MB / 1.546 GB, free: 93.73 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002913/1.486, allocations: 59.62 kB / 1.546 GB, free: 93.68 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01377/1.499, allocations: 13.72 MB / 1.559 GB, free: 79.16 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/1.5, allocations: 11.94 kB / 1.559 GB, free: 79.14 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01464/1.514, allocations: 7.705 MB / 1.567 GB, free: 71.28 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001327/1.516, allocations: 0.6308 MB / 1.567 GB, free: 70.63 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002948/1.516, allocations: 47.94 kB / 1.567 GB, free: 70.58 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001639/1.517, allocations: 207.7 kB / 1.568 GB, free: 70.38 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004551/1.518, allocations: 161.6 kB / 1.568 GB, free: 70.22 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001579/1.518, allocations: 71.97 kB / 1.568 GB, free: 70.15 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001739/1.52, allocations: 1.469 MB / 1.569 GB, free: 68.66 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.7e-07/1.52, allocations: 4 kB / 1.569 GB, free: 68.66 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.003539/1.523, allocations: 1.26 MB / 1.57 GB, free: 67.42 MB / 0.9167 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 (194): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,2), (2,2), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001701/1.525, allocations: 0.787 MB / 1.571 GB, free: 66.93 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.008182/1.533, allocations: 5.647 MB / 1.577 GB, free: 61.17 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-05/1.533, allocations: 0 / 1.577 GB, free: 61.17 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.003258/1.537, allocations: 2.325 MB / 1.579 GB, free: 58.77 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003521/1.54, allocations: 0.6333 MB / 1.58 GB, free: 58.15 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01121/1.551, allocations: 9.41 MB / 1.589 GB, free: 48.64 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001928/1.553, allocations: 2.539 MB / 1.591 GB, free: 46.06 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.003095/1.556, allocations: 1.021 MB / 1.592 GB, free: 45.04 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005543/1.557, allocations: 211.3 kB / 1.593 GB, free: 44.83 MB / 0.9167 GB Notification: Performance of SimCode: time 7.52e-07/1.557, allocations: 0 / 1.593 GB, free: 44.83 MB / 0.9167 GB Notification: Performance of Templates: time 0.07736/1.634, allocations: 53.82 MB / 1.645 GB, free: 7.305 MB / 0.9323 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe 2>&1)