Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 116.3 kB / 17.09 MB, free: 5.992 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.001255/0.001255, allocations: 185.6 kB / 18.02 MB, free: 5.082 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.354/1.354, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7135/0.7135, allocations: 115.3 MB / 407.2 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 65.73 kB / 0.5584 GB, free: 32.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1471, allocations: 76.18 MB / 0.6327 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine): time 0.02631/0.1734, allocations: 21.89 MB / 0.6541 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6556/0.829, allocations: 158.5 MB / 0.8089 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003081/0.8322, allocations: 75.41 kB / 0.809 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.005086/0.8373, allocations: 1.879 MB / 0.8108 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006678/0.844, allocations: 2.022 MB / 0.8128 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006054/0.8501, allocations: 2.346 MB / 0.8151 GB, free: 96 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007804/0.8579, allocations: 5.39 MB / 0.8204 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007158/0.8651, allocations: 5.652 MB / 0.8259 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004041/0.8692, allocations: 2.207 MB / 0.828 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004328/0.8735, allocations: 2.443 MB / 0.8304 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001245/0.8748, allocations: 493.6 kB / 0.8309 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003056/0.8779, allocations: 1.264 MB / 0.8321 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001939/0.8798, allocations: 1.738 MB / 0.8338 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003035/0.8829, allocations: 2.183 MB / 0.8359 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.008222/0.8911, allocations: 7.26 MB / 0.843 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.8911, allocations: 0 / 0.843 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.073e-06/0.8912, allocations: 0 / 0.843 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001761/0.8913, allocations: 0 / 0.843 GB, free: 15.49 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 836 * Number of variables: 836 Notification: Performance of Generate backend data structure: time 0.009/0.9003, allocations: 4.195 MB / 0.8471 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.9004, allocations: 8.031 kB / 0.8471 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00365/0.9041, allocations: 0.8012 MB / 0.8479 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004544/0.9086, allocations: 2.513 MB / 0.8504 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001719/0.9088, allocations: 240.3 kB / 0.8506 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005423/0.9094, allocations: 309.4 kB / 0.8509 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008008/0.9174, allocations: 4.815 MB / 0.8556 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.994e-05/0.9175, allocations: 7.844 kB / 0.8556 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003175/0.9178, allocations: 137.6 kB / 0.8557 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003377/0.9182, allocations: 218.1 kB / 0.856 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007113/0.9253, allocations: 4.372 MB / 0.8602 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02209/0.9474, allocations: 19.67 MB / 0.8794 GB, free: 8.562 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003108/0.9505, allocations: 2.079 MB / 0.8815 GB, free: 6.48 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001445/0.952, allocations: 1.145 MB / 0.8826 GB, free: 5.332 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002265/0.9523, allocations: 133.2 kB / 0.8827 GB, free: 5.195 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001758/0.954, allocations: 1.289 MB / 0.884 GB, free: 3.883 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=169): time 3.967e-06/0.954, allocations: 0 / 0.884 GB, free: 3.883 MB / 0.6387 GB Notification: Performance of matching and sorting (n=206): time 0.03364/0.9877, allocations: 11.31 MB / 0.895 GB, free: 8.523 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001436/0.9879, allocations: 304.7 kB / 0.8953 GB, free: 8.156 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002991/0.9909, allocations: 2.137 MB / 0.8974 GB, free: 5.98 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0004561/0.9913, allocations: 65.7 kB / 0.8974 GB, free: 5.91 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001327/0.9927, allocations: 1.509 MB / 0.8989 GB, free: 4.387 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007384/0.9934, allocations: 0.6819 MB / 0.8996 GB, free: 3.711 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006762/0.9941, allocations: 419.5 kB / 0.9 GB, free: 3.293 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.657e-05/0.9942, allocations: 301.1 kB / 0.9003 GB, free: 2.996 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001865/0.9961, allocations: 1.223 MB / 0.9015 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002107/0.9982, allocations: 1.658 MB / 0.9031 GB, free: 15.94 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003899/1.002, allocations: 2.947 MB / 0.906 GB, free: 12.87 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/1.002, allocations: 4 kB / 0.906 GB, free: 12.87 MB / 0.67 GB Notification: Performance of matching and sorting (n=265) (initialization): time 0.01427/1.016, allocations: 5.174 MB / 0.911 GB, free: 7.664 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.832e-05/1.016, allocations: 12 kB / 0.911 GB, free: 7.652 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.282e-05/1.017, allocations: 8 kB / 0.911 GB, free: 7.645 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009379/1.026, allocations: 2.299 MB / 0.9133 GB, free: 5.324 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002257/1.028, allocations: 479.2 kB / 0.9137 GB, free: 4.855 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02099/1.049, allocations: 15.22 MB / 0.9286 GB, free: 4.805 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003105/1.052, allocations: 203.7 kB / 0.9288 GB, free: 4.605 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002732/1.053, allocations: 95.95 kB / 0.9289 GB, free: 4.512 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004024/1.057, allocations: 2.194 MB / 0.931 GB, free: 2.309 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002099/1.059, allocations: 1.581 MB / 0.9326 GB, free: 0.5664 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003761/1.063, allocations: 2.758 MB / 0.9353 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.015e-06/1.063, allocations: 4 kB / 0.9353 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of matching and sorting (n=265) (initialization_lambda0): time 0.0109/1.073, allocations: 4.415 MB / 0.9396 GB, free: 9.246 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/1.074, allocations: 16.11 kB / 0.9396 GB, free: 9.23 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.752e-05/1.074, allocations: 12 kB / 0.9396 GB, free: 9.219 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006018/1.08, allocations: 1.489 MB / 0.9411 GB, free: 7.719 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002357/1.082, allocations: 0.4914 MB / 0.9416 GB, free: 7.227 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01114/1.093, allocations: 8.353 MB / 0.9497 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003008/1.096, allocations: 191.8 kB / 0.9499 GB, free: 14.27 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005521/1.097, allocations: 99.95 kB / 0.95 GB, free: 14.17 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (247): * Single equations (assignments): 241 * 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.001124/1.098, allocations: 317 kB / 0.9503 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001034/1.099, allocations: 237.1 kB / 0.9505 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01416/1.113, allocations: 5.202 MB / 0.9556 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-05/1.113, allocations: 11.95 kB / 0.9556 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/1.113, allocations: 0 / 0.9556 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00189/1.115, allocations: 0.6463 MB / 0.9562 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009612/1.116, allocations: 47.84 kB / 0.9563 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002448/1.119, allocations: 240.1 kB / 0.9565 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005715/1.119, allocations: 161.8 kB / 0.9567 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0108/1.13, allocations: 4.302 MB / 0.9609 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007622/1.138, allocations: 4.688 MB / 0.9654 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001962/1.14, allocations: 1.417 MB / 0.9668 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003196/1.143, allocations: 1.501 MB / 0.9683 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of Backend: time 1.162e-06/1.143, allocations: 0 / 0.9683 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0138/1.157, allocations: 5.755 MB / 0.9739 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of SimCode: time 0.01574/1.172, allocations: 6.629 MB / 0.9804 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of Templates: time 0.4871/1.66, allocations: 67.12 MB / 1.046 GB, free: 314.7 MB / 0.795 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe 2>&1)