Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.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.001376/0.001376, allocations: 99.08 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.697/1.697, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.819/1.819, allocations: 251.9 MB / 0.51 GB, free: 4.82 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005717/0.0005717, allocations: 20 kB / 0.6241 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6664/0.667, allocations: 106.3 MB / 0.728 GB, free: 11.53 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N): time 0.02072/0.6878, allocations: 18.4 MB / 0.7459 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.1751/0.8629, allocations: 134.5 MB / 0.8773 GB, free: 2.266 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002766/0.8657, allocations: 55.75 kB / 0.8773 GB, free: 2.211 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001565/0.8673, allocations: 0.5322 MB / 0.8778 GB, free: 1.676 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.005343/0.8727, allocations: 1.582 MB / 0.8794 GB, free: 96 kB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005067/0.8777, allocations: 1.583 MB / 0.8809 GB, free: 14.53 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.00508/0.8828, allocations: 2.522 MB / 0.8834 GB, free: 12 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008434/0.8913, allocations: 5.677 MB / 0.8889 GB, free: 6.242 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002593/0.8939, allocations: 1.296 MB / 0.8902 GB, free: 4.941 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002374/0.8963, allocations: 1.362 MB / 0.8915 GB, free: 3.574 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0004434/0.8967, allocations: 160 kB / 0.8917 GB, free: 3.418 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001681/0.8984, allocations: 0.5618 MB / 0.8922 GB, free: 2.855 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001314/0.8998, allocations: 1.181 MB / 0.8934 GB, free: 1.672 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0009583/0.9007, allocations: 0.6678 MB / 0.894 GB, free: 0.9961 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.006724/0.9075, allocations: 5.396 MB / 0.8993 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.9075, allocations: 0 / 0.8993 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.314e-06/0.9075, allocations: 3.938 kB / 0.8993 GB, free: 11.58 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001933/0.9077, allocations: 4 kB / 0.8993 GB, free: 11.58 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 808 * Number of variables: 808 Notification: Performance of Generate backend data structure: time 0.007875/0.9156, allocations: 3.192 MB / 0.9024 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.9157, allocations: 11.97 kB / 0.9024 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004672/0.9203, allocations: 0.8581 MB / 0.9033 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005582/0.9259, allocations: 2.197 MB / 0.9054 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002098/0.9262, allocations: 222.1 kB / 0.9056 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005451/0.9267, allocations: 300 kB / 0.9059 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5143/1.441, allocations: 4.633 MB / 0.9105 GB, free: 175.2 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002577/1.441, allocations: 5.672 kB / 0.9105 GB, free: 175.2 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001609/1.443, allocations: 127.5 kB / 0.9106 GB, free: 175.2 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005762/1.444, allocations: 214.4 kB / 0.9108 GB, free: 175.2 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01252/1.456, allocations: 4.282 MB / 0.915 GB, free: 174.2 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03011/1.486, allocations: 18.46 MB / 0.933 GB, free: 160 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003079/1.489, allocations: 2.121 MB / 0.9351 GB, free: 158.9 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002054/1.49, allocations: 138.5 kB / 0.9352 GB, free: 158.8 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001553/1.491, allocations: 1.162 MB / 0.9363 GB, free: 158 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=157): time 3.737e-06/1.491, allocations: 2.906 kB / 0.9363 GB, free: 158 MB / 0.7169 GB Notification: Performance of matching and sorting (n=192): time 0.02722/1.518, allocations: 10.37 MB / 0.9465 GB, free: 149 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001329/1.519, allocations: 360.1 kB / 0.9468 GB, free: 148.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002663/1.521, allocations: 1.877 MB / 0.9486 GB, free: 146.6 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.000528/1.522, allocations: 57.7 kB / 0.9487 GB, free: 146.6 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001233/1.523, allocations: 1.438 MB / 0.9501 GB, free: 145.1 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005656/1.524, allocations: 0.6494 MB / 0.9507 GB, free: 144.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/1.524, allocations: 40 kB / 0.9508 GB, free: 144.4 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001173/1.524, allocations: 389.9 kB / 0.9511 GB, free: 144 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001491/1.525, allocations: 1.116 MB / 0.9522 GB, free: 142.9 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001644/1.527, allocations: 1.648 MB / 0.9538 GB, free: 141.1 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001635/1.529, allocations: 1.388 MB / 0.9552 GB, free: 139.7 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/1.529, allocations: 4 kB / 0.9552 GB, free: 139.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.009913/1.539, allocations: 4.58 MB / 0.9597 GB, free: 135.1 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.001125/1.54, allocations: 4.973 MB / 0.9645 GB, free: 129.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.504e-05/1.54, allocations: 12 kB / 0.9645 GB, free: 129.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007189/1.547, allocations: 1.851 MB / 0.9663 GB, free: 127.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002126/1.549, allocations: 463.3 kB / 0.9668 GB, free: 127.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01256/1.562, allocations: 9.475 MB / 0.976 GB, free: 117.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002797/1.565, allocations: 202.9 kB / 0.9762 GB, free: 117.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002959/1.565, allocations: 87.97 kB / 0.9763 GB, free: 117.4 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/1.565, allocations: 4 kB / 0.9763 GB, free: 117.4 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007807/1.573, allocations: 3.781 MB / 0.98 GB, free: 113.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-05/1.573, allocations: 12 kB / 0.98 GB, free: 113.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004499/1.577, allocations: 1.199 MB / 0.9812 GB, free: 112.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002334/1.58, allocations: 487.2 kB / 0.9817 GB, free: 111.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00863/1.588, allocations: 5.858 MB / 0.9874 GB, free: 105.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002636/1.591, allocations: 175.9 kB / 0.9875 GB, free: 105.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000491/1.592, allocations: 87.97 kB / 0.9876 GB, free: 105.6 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (224): * Single equations (assignments): 222 * 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.002852/1.594, allocations: 1.211 MB / 0.9888 GB, free: 104.4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007794/1.595, allocations: 221.3 kB / 0.989 GB, free: 104.2 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0106/1.606, allocations: 4.521 MB / 0.9934 GB, free: 99.65 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.711e-05/1.606, allocations: 20 kB / 0.9935 GB, free: 99.63 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.895e-05/1.606, allocations: 4 kB / 0.9935 GB, free: 99.63 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.851e-05/1.606, allocations: 19.91 kB / 0.9935 GB, free: 99.61 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01905/1.625, allocations: 9.558 MB / 1.003 GB, free: 89.92 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.677e-05/1.625, allocations: 8.969 kB / 1.003 GB, free: 89.91 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001522/1.627, allocations: 363.4 kB / 1.003 GB, free: 89.56 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006248/1.633, allocations: 1.699 MB / 1.005 GB, free: 87.86 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003648/1.633, allocations: 51.98 kB / 1.005 GB, free: 87.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01223/1.646, allocations: 9.413 MB / 1.014 GB, free: 78.13 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.141e-05/1.646, allocations: 11.94 kB / 1.014 GB, free: 78.12 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01066/1.656, allocations: 5.058 MB / 1.019 GB, free: 72.66 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001697/1.658, allocations: 0.6425 MB / 1.02 GB, free: 71.99 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007112/1.659, allocations: 48 kB / 1.02 GB, free: 71.95 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002779/1.662, allocations: 204.6 kB / 1.02 GB, free: 71.75 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000728/1.662, allocations: 161.8 kB / 1.02 GB, free: 71.59 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003253/1.663, allocations: 75.92 kB / 1.02 GB, free: 71.52 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.003543/1.666, allocations: 1.305 MB / 1.021 GB, free: 70.19 MB / 0.7169 GB Notification: Performance of sort global known variables: time 4.61e-07/1.666, allocations: 8 kB / 1.021 GB, free: 70.18 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.007841/1.674, allocations: 1.178 MB / 1.023 GB, free: 69.02 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (177): * Single equations (assignments): 173 * 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 {(3,100.0%) 13} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.00239/1.677, allocations: 0.6636 MB / 1.023 GB, free: 68.59 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0138/1.69, allocations: 5.254 MB / 1.028 GB, free: 63.31 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.519e-05/1.69, allocations: 11.25 kB / 1.028 GB, free: 63.3 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.005676/1.696, allocations: 2.004 MB / 1.03 GB, free: 61.28 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00471/1.701, allocations: 0.5493 MB / 1.031 GB, free: 60.74 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01712/1.718, allocations: 7.73 MB / 1.038 GB, free: 52.88 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002921/1.721, allocations: 2.468 MB / 1.041 GB, free: 50.38 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.003729/1.725, allocations: 1.013 MB / 1.042 GB, free: 49.37 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007705/1.726, allocations: 199.4 kB / 1.042 GB, free: 49.17 MB / 0.7169 GB Notification: Performance of SimCode: time 1.513e-06/1.726, allocations: 3.938 kB / 1.042 GB, free: 49.17 MB / 0.7169 GB Notification: Performance of Templates: time 0.06951/1.795, allocations: 45.65 MB / 1.087 GB, free: 3.965 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe 2>&1) Environment - environmentSimulation: