Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009278/0.0009308, allocations: 95.88 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 172.7 kB / 16.56 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 223.2 MB / 240.5 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6964/0.6964, allocations: 113.8 MB / 405.4 MB, free: 4.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003381/0.0003383, allocations: 8 kB / 493.1 MB, free: 8.527 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1711, allocations: 77.15 MB / 0.5568 GB, free: 11.58 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N): time 0.0206/0.1918, allocations: 18.57 MB / 0.575 GB, free: 8.961 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5072/0.699, allocations: 134.8 MB / 0.7066 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002982/0.702, allocations: 63.62 kB / 0.7067 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001686/0.7037, allocations: 0.5322 MB / 0.7072 GB, free: 132 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005896/0.7097, allocations: 1.653 MB / 0.7088 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00511/0.7148, allocations: 1.636 MB / 0.7104 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.005371/0.7202, allocations: 2.597 MB / 0.713 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008424/0.7286, allocations: 5.735 MB / 0.7186 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002624/0.7313, allocations: 1.335 MB / 0.7199 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003236/0.7345, allocations: 1.416 MB / 0.7213 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0008981/0.7354, allocations: 171.9 kB / 0.7214 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002111/0.7375, allocations: 0.6282 MB / 0.722 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001194/0.7387, allocations: 1.204 MB / 0.7232 GB, free: 15.7 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0009992/0.7398, allocations: 0.6795 MB / 0.7239 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.006275/0.746, allocations: 5.549 MB / 0.7293 GB, free: 9.465 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.7461, allocations: 0 / 0.7293 GB, free: 9.465 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.804e-06/0.7461, allocations: 0 / 0.7293 GB, free: 9.465 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002176/0.7463, allocations: 0 / 0.7293 GB, free: 9.465 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 825 * Number of variables: 825 Notification: Performance of Generate backend data structure: time 0.009668/0.756, allocations: 3.339 MB / 0.7326 GB, free: 6.062 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.756, allocations: 8.031 kB / 0.7326 GB, free: 6.055 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004876/0.7609, allocations: 0.8708 MB / 0.7334 GB, free: 5.18 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005639/0.7666, allocations: 2.229 MB / 0.7356 GB, free: 2.898 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002131/0.7668, allocations: 230.2 kB / 0.7358 GB, free: 2.672 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008162/0.7677, allocations: 307.9 kB / 0.7361 GB, free: 2.371 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009066/0.7767, allocations: 4.707 MB / 0.7407 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.287e-05/0.7768, allocations: 4 kB / 0.7407 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003348/0.7772, allocations: 136 kB / 0.7408 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003875/0.7776, allocations: 222 kB / 0.741 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007363/0.785, allocations: 4.337 MB / 0.7453 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02607/0.8111, allocations: 18.66 MB / 0.7635 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003624/0.8147, allocations: 2.225 MB / 0.7657 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002272/0.815, allocations: 134.3 kB / 0.7658 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001871/0.8169, allocations: 1.239 MB / 0.767 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=166): time 4.398e-06/0.8169, allocations: 0 / 0.767 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=201): time 0.03312/0.85, allocations: 10.58 MB / 0.7773 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002141/0.8503, allocations: 364.1 kB / 0.7777 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00394/0.8543, allocations: 1.927 MB / 0.7796 GB, free: 4.023 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0004045/0.8547, allocations: 61.7 kB / 0.7796 GB, free: 3.957 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001748/0.8564, allocations: 1.472 MB / 0.7811 GB, free: 2.465 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009788/0.8574, allocations: 0.6624 MB / 0.7817 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002369/0.8577, allocations: 48 kB / 0.7818 GB, free: 1.746 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002233/0.8579, allocations: 390 kB / 0.7821 GB, free: 1.359 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002093/0.86, allocations: 1.152 MB / 0.7833 GB, free: 208 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002485/0.8625, allocations: 1.672 MB / 0.7849 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002361/0.8649, allocations: 1.419 MB / 0.7863 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.341e-05/0.8649, allocations: 4 kB / 0.7863 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of matching and sorting (n=266) (initialization): time 0.01147/0.8764, allocations: 4.665 MB / 0.7908 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.001811/0.8782, allocations: 4.991 MB / 0.7957 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.01e-05/0.8783, allocations: 15.94 kB / 0.7957 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007352/0.8856, allocations: 1.845 MB / 0.7975 GB, free: 0.9609 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00208/0.8877, allocations: 483.2 kB / 0.798 GB, free: 500 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01433/0.9021, allocations: 9.479 MB / 0.8072 GB, free: 6.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002834/0.905, allocations: 211.1 kB / 0.8075 GB, free: 6.547 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004279/0.9054, allocations: 95.92 kB / 0.8075 GB, free: 6.453 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.9054, allocations: 4 kB / 0.8075 GB, free: 6.449 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009427/0.9149, allocations: 3.857 MB / 0.8113 GB, free: 2.586 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.322e-05/0.9149, allocations: 12 kB / 0.8113 GB, free: 2.574 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005012/0.9199, allocations: 1.198 MB / 0.8125 GB, free: 1.375 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002099/0.9221, allocations: 499.2 kB / 0.813 GB, free: 0.8867 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009611/0.9317, allocations: 5.866 MB / 0.8187 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002509/0.9342, allocations: 190.7 kB / 0.8189 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003695/0.9346, allocations: 87.98 kB / 0.819 GB, free: 10.61 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (236): * Single equations (assignments): 234 * 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 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.002369/0.937, allocations: 1.238 MB / 0.8202 GB, free: 9.355 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006323/0.9376, allocations: 225.3 kB / 0.8204 GB, free: 9.133 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01129/0.9489, allocations: 4.608 MB / 0.8249 GB, free: 4.504 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-05/0.949, allocations: 24 kB / 0.8249 GB, free: 4.48 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/0.949, allocations: 0 / 0.8249 GB, free: 4.48 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.894e-05/0.949, allocations: 15.95 kB / 0.8249 GB, free: 4.465 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.422/1.371, allocations: 9.744 MB / 0.8344 GB, free: 220.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-05/1.371, allocations: 10.38 kB / 0.8345 GB, free: 220.7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001898/1.373, allocations: 372.3 kB / 0.8348 GB, free: 220.6 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007608/1.381, allocations: 1.697 MB / 0.8365 GB, free: 220.6 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007362/1.381, allocations: 54.77 kB / 0.8365 GB, free: 220.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01724/1.399, allocations: 9.429 MB / 0.8457 GB, free: 215.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.251e-05/1.399, allocations: 9.938 kB / 0.8457 GB, free: 215.7 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01178/1.411, allocations: 5.172 MB / 0.8508 GB, free: 213.2 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002364/1.413, allocations: 0.6587 MB / 0.8514 GB, free: 212.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008693/1.414, allocations: 55.17 kB / 0.8515 GB, free: 212.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002642/1.416, allocations: 218.3 kB / 0.8517 GB, free: 212.8 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007485/1.417, allocations: 175.3 kB / 0.8519 GB, free: 212.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002119/1.417, allocations: 75.55 kB / 0.8519 GB, free: 212.8 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002622/1.42, allocations: 1.343 MB / 0.8532 GB, free: 212.3 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.31e-07/1.42, allocations: 0 / 0.8532 GB, free: 212.3 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.005804/1.426, allocations: 1.254 MB / 0.8545 GB, free: 212.2 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (186): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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 {(3,100.0%) 13} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001992/1.428, allocations: 0.7901 MB / 0.8552 GB, free: 211.9 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.009754/1.438, allocations: 5.383 MB / 0.8605 GB, free: 209.9 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.678e-05/1.438, allocations: 3.938 kB / 0.8605 GB, free: 209.9 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00391/1.442, allocations: 2.086 MB / 0.8625 GB, free: 209 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003114/1.445, allocations: 0.5524 MB / 0.8631 GB, free: 208.9 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01154/1.456, allocations: 7.882 MB / 0.8708 GB, free: 204.7 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002028/1.458, allocations: 2.501 MB / 0.8732 GB, free: 203.5 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003085/1.462, allocations: 1.022 MB / 0.8742 GB, free: 203 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005343/1.462, allocations: 205.1 kB / 0.8744 GB, free: 203 MB / 0.6387 GB Notification: Performance of SimCode: time 1.173e-06/1.462, allocations: 4 kB / 0.8744 GB, free: 203 MB / 0.6387 GB Notification: Performance of Templates: time 0.07007/1.532, allocations: 47.12 MB / 0.9204 GB, free: 157.2 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe 2>&1)