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.000834/0.000834, allocations: 98.81 kB / 16.02 MB, free: 80 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.001038/0.001038, allocations: 182.7 kB / 16.92 MB, free: 6.691 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.401/1.401, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6933/0.6933, allocations: 115.5 MB / 407.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003446/0.0003445, allocations: 8 kB / 495.9 MB, free: 6.328 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1533, allocations: 77.52 MB / 0.56 GB, free: 9.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine): time 0.02517/0.1785, allocations: 21.02 MB / 0.5805 GB, free: 3.918 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4848/0.6634, allocations: 154.5 MB / 0.7314 GB, free: 7.113 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00318/0.6666, allocations: 63.69 kB / 0.7314 GB, free: 7.051 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002508/0.6691, allocations: 0.6173 MB / 0.732 GB, free: 6.43 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.007981/0.6771, allocations: 1.844 MB / 0.7338 GB, free: 4.582 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.006667/0.6838, allocations: 1.949 MB / 0.7357 GB, free: 2.656 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.009206/0.693, allocations: 6.844 MB / 0.7424 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01256/0.7056, allocations: 6.666 MB / 0.7489 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004089/0.7097, allocations: 1.556 MB / 0.7505 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004514/0.7143, allocations: 2.066 MB / 0.7525 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001228/0.7155, allocations: 168 kB / 0.7526 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004261/0.7198, allocations: 1.041 MB / 0.7537 GB, free: 204 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.003038/0.7229, allocations: 1.359 MB / 0.755 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00479/0.7277, allocations: 1.773 MB / 0.7567 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01115/0.7389, allocations: 6.833 MB / 0.7634 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.7389, allocations: 0 / 0.7634 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.464e-06/0.7389, allocations: 0 / 0.7634 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.000252/0.7392, allocations: 0 / 0.7634 GB, free: 6.191 MB / 0.5762 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.008698/0.7479, allocations: 3.405 MB / 0.7667 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.748, allocations: 8.031 kB / 0.7667 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004813/0.7528, allocations: 0.8186 MB / 0.7675 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006006/0.7588, allocations: 2.452 MB / 0.7699 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002853/0.7591, allocations: 238.3 kB / 0.7701 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001115/0.7603, allocations: 304 kB / 0.7704 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01216/0.7724, allocations: 4.823 MB / 0.7751 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001667/0.7727, allocations: 7.938 kB / 0.7751 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009843/0.7737, allocations: 139.9 kB / 0.7753 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000491/0.7742, allocations: 230.1 kB / 0.7755 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009831/0.784, allocations: 4.372 MB / 0.7798 GB, free: 5.117 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0333/0.8174, allocations: 19.9 MB / 0.7992 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004248/0.8216, allocations: 2.088 MB / 0.8012 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002053/0.8237, allocations: 1.155 MB / 0.8024 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002955/0.8241, allocations: 134.3 kB / 0.8025 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002281/0.8264, allocations: 1.294 MB / 0.8038 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=169): time 5.169e-06/0.8264, allocations: 0 / 0.8038 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of matching and sorting (n=206): time 0.04043/0.8668, allocations: 11.45 MB / 0.8149 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000201/0.8671, allocations: 308.7 kB / 0.8152 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004604/0.8717, allocations: 2.133 MB / 0.8173 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0005242/0.8722, allocations: 73.58 kB / 0.8174 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001793/0.874, allocations: 1.509 MB / 0.8189 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.00113/0.8752, allocations: 0.6777 MB / 0.8195 GB, free: 10.6 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006459/0.8759, allocations: 169.8 kB / 0.8197 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.876, allocations: 309.1 kB / 0.82 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00286/0.8789, allocations: 1.214 MB / 0.8212 GB, free: 8.906 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003078/0.882, allocations: 1.666 MB / 0.8228 GB, free: 7.074 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005083/0.8871, allocations: 2.947 MB / 0.8257 GB, free: 4 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.009e-05/0.8871, allocations: 4 kB / 0.8257 GB, free: 3.996 MB / 0.6387 GB Notification: Performance of matching and sorting (n=265) (initialization): time 0.3163/1.203, allocations: 5.255 MB / 0.8308 GB, free: 221.9 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001809/1.204, allocations: 376.1 kB / 0.8312 GB, free: 221.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-05/1.204, allocations: 9.094 kB / 0.8312 GB, free: 221.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01183/1.215, allocations: 2.446 MB / 0.8336 GB, free: 221.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002599/1.218, allocations: 488.6 kB / 0.834 GB, free: 221.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02121/1.239, allocations: 14.23 MB / 0.8479 GB, free: 212.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003117/1.243, allocations: 219 kB / 0.8481 GB, free: 212.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003253/1.243, allocations: 96.42 kB / 0.8482 GB, free: 212.1 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/1.243, allocations: 4.031 kB / 0.8482 GB, free: 212.1 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01305/1.256, allocations: 4.282 MB / 0.8524 GB, free: 210.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.811e-05/1.256, allocations: 13.62 kB / 0.8524 GB, free: 210.7 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007341/1.263, allocations: 1.62 MB / 0.854 GB, free: 210.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002483/1.266, allocations: 0.494 MB / 0.8545 GB, free: 210.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01376/1.28, allocations: 8.664 MB / 0.8629 GB, free: 204.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00275/1.282, allocations: 192.6 kB / 0.8631 GB, free: 204.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006272/1.283, allocations: 99.2 kB / 0.8632 GB, free: 204.7 MB / 0.6387 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.003076/1.286, allocations: 1.27 MB / 0.8645 GB, free: 203.9 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008207/1.287, allocations: 237.2 kB / 0.8647 GB, free: 203.9 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01744/1.305, allocations: 5.302 MB / 0.8699 GB, free: 200.9 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.782e-05/1.305, allocations: 21.55 kB / 0.8699 GB, free: 200.9 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.473e-05/1.305, allocations: 3.875 kB / 0.8699 GB, free: 200.9 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.545e-05/1.305, allocations: 15.95 kB / 0.8699 GB, free: 200.9 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02126/1.326, allocations: 10.04 MB / 0.8797 GB, free: 194.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.008e-05/1.326, allocations: 11.81 kB / 0.8797 GB, free: 194.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001631/1.328, allocations: 392.1 kB / 0.8801 GB, free: 194.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009359/1.337, allocations: 2.265 MB / 0.8823 GB, free: 193.7 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003891/1.337, allocations: 61.03 kB / 0.8824 GB, free: 193.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01485/1.352, allocations: 13.84 MB / 0.8959 GB, free: 179.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/1.352, allocations: 15.83 kB / 0.8959 GB, free: 179.9 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01241/1.365, allocations: 5.179 MB / 0.901 GB, free: 174.7 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001795/1.367, allocations: 0.7012 MB / 0.9016 GB, free: 174.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000385/1.367, allocations: 48 kB / 0.9017 GB, free: 174 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001952/1.369, allocations: 239.6 kB / 0.9019 GB, free: 173.8 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004835/1.369, allocations: 181.6 kB / 0.9021 GB, free: 173.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001522/1.37, allocations: 71.98 kB / 0.9022 GB, free: 173.6 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001869/1.372, allocations: 1.501 MB / 0.9036 GB, free: 172 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.61e-07/1.372, allocations: 0 / 0.9036 GB, free: 172 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003589/1.375, allocations: 1.294 MB / 0.9049 GB, free: 170.8 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (203): * Single equations (assignments): 192 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001775/1.377, allocations: 0.8008 MB / 0.9057 GB, free: 170.3 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01066/1.388, allocations: 6.283 MB / 0.9118 GB, free: 163.9 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/1.388, allocations: 0 / 0.9118 GB, free: 163.9 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003285/1.391, allocations: 2.39 MB / 0.9141 GB, free: 161.4 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004901/1.396, allocations: 0.6426 MB / 0.9148 GB, free: 160.8 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01062/1.406, allocations: 8.48 MB / 0.9231 GB, free: 152.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001843/1.408, allocations: 2.508 MB / 0.9255 GB, free: 149.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002942/1.411, allocations: 1.022 MB / 0.9265 GB, free: 148.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006013/1.412, allocations: 215.4 kB / 0.9267 GB, free: 148.5 MB / 0.6387 GB Notification: Performance of SimCode: time 1.213e-06/1.412, allocations: 0 / 0.9267 GB, free: 148.5 MB / 0.6387 GB Notification: Performance of Templates: time 0.07142/1.483, allocations: 53.36 MB / 0.9788 GB, free: 95.51 MB / 0.6387 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)