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.000891/0.0008909, allocations: 91.67 kB / 16.67 MB, free: 6.324 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.0009655/0.0009656, allocations: 178.3 kB / 17.58 MB, free: 5.945 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.359/1.359, allocations: 223.3 MB / 241.6 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7011/0.7011, allocations: 115.5 MB / 408.2 MB, free: 7.125 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003807/0.0003808, allocations: 12 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.3784, allocations: 77.52 MB / 0.5606 GB, free: 35.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine): time 0.02126/0.3997, allocations: 21.01 MB / 0.5811 GB, free: 21.13 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1774/0.5771, allocations: 154.5 MB / 0.732 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003516/0.5807, allocations: 59.69 kB / 0.7321 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00267/0.5834, allocations: 0.6211 MB / 0.7327 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007265/0.5907, allocations: 1.849 MB / 0.7345 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006036/0.5968, allocations: 1.937 MB / 0.7364 GB, free: 14.88 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.009431/0.6062, allocations: 6.848 MB / 0.7431 GB, free: 8.008 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01258/0.6188, allocations: 6.661 MB / 0.7496 GB, free: 1.254 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3917/1.011, allocations: 1.555 MB / 0.7511 GB, free: 10.56 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004596/1.015, allocations: 2.059 MB / 0.7531 GB, free: 10.55 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.001149/1.016, allocations: 170.2 kB / 0.7533 GB, free: 10.55 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003545/1.02, allocations: 1.05 MB / 0.7543 GB, free: 10.55 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0028/1.023, allocations: 1.356 MB / 0.7556 GB, free: 10.55 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.004497/1.027, allocations: 1.768 MB / 0.7573 GB, free: 10.52 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.009382/1.037, allocations: 5.86 MB / 0.7631 GB, free: 10.32 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/1.037, allocations: 0.9062 kB / 0.7631 GB, free: 10.32 MB / 0.5763 GB Notification: Performance of FrontEnd: time 4.298e-06/1.037, allocations: 0 / 0.7631 GB, free: 10.32 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0002775/1.037, allocations: 1.75 kB / 0.7631 GB, free: 10.32 MB / 0.5763 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.01057/1.048, allocations: 3.398 MB / 0.7664 GB, free: 8.676 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/1.048, allocations: 12.75 kB / 0.7664 GB, free: 8.676 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005161/1.053, allocations: 0.8097 MB / 0.7672 GB, free: 8.465 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005982/1.059, allocations: 2.456 MB / 0.7696 GB, free: 7.902 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002703/1.059, allocations: 236.7 kB / 0.7698 GB, free: 7.895 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001319/1.06, allocations: 312 kB / 0.7701 GB, free: 7.891 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01217/1.073, allocations: 4.822 MB / 0.7748 GB, free: 7.414 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.725e-05/1.073, allocations: 11.03 kB / 0.7748 GB, free: 7.41 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004794/1.073, allocations: 137.9 kB / 0.775 GB, free: 7.41 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004481/1.074, allocations: 218.3 kB / 0.7752 GB, free: 7.402 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00959/1.083, allocations: 4.375 MB / 0.7794 GB, free: 7.367 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02775/1.111, allocations: 19.89 MB / 0.7989 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003631/1.115, allocations: 2.086 MB / 0.8009 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001574/1.116, allocations: 1.148 MB / 0.802 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002615/1.117, allocations: 133.2 kB / 0.8021 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001909/1.119, allocations: 1.296 MB / 0.8034 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=169): time 3.166e-06/1.119, allocations: 0 / 0.8034 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of matching and sorting (n=206): time 0.03732/1.156, allocations: 11.46 MB / 0.8146 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002105/1.156, allocations: 305.2 kB / 0.8149 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00353/1.16, allocations: 2.136 MB / 0.817 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0006007/1.16, allocations: 61.39 kB / 0.817 GB, free: 6.711 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001908/1.162, allocations: 1.516 MB / 0.8185 GB, free: 5.898 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001009/1.163, allocations: 0.6791 MB / 0.8192 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003055/1.164, allocations: 169.1 kB / 0.8193 GB, free: 5.359 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001234/1.164, allocations: 305.9 kB / 0.8196 GB, free: 5.062 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001937/1.166, allocations: 1.216 MB / 0.8208 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002205/1.168, allocations: 1.668 MB / 0.8225 GB, free: 4.25 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004294/1.172, allocations: 2.948 MB / 0.8253 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/1.172, allocations: 3.594 kB / 0.8253 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of matching and sorting (n=265) (initialization): time 0.01422/1.186, allocations: 5.264 MB / 0.8305 GB, free: 2.211 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003/1.187, allocations: 370.5 kB / 0.8308 GB, free: 1.777 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.827e-05/1.187, allocations: 10.88 kB / 0.8308 GB, free: 1.777 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01113/1.198, allocations: 2.44 MB / 0.8332 GB, free: 0.5078 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002552/1.201, allocations: 492.6 kB / 0.8337 GB, free: 72 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02147/1.222, allocations: 14.24 MB / 0.8476 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00336/1.225, allocations: 206.6 kB / 0.8478 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004781/1.226, allocations: 96.02 kB / 0.8479 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/1.226, allocations: 4 kB / 0.8479 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.012/1.238, allocations: 4.284 MB / 0.8521 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.411e-05/1.238, allocations: 8.844 kB / 0.8521 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007517/1.246, allocations: 1.625 MB / 0.8537 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002632/1.248, allocations: 497.8 kB / 0.8541 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01444/1.263, allocations: 8.671 MB / 0.8626 GB, free: 1.527 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003169/1.266, allocations: 199.8 kB / 0.8628 GB, free: 1.332 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004209/1.266, allocations: 87.97 kB / 0.8629 GB, free: 1.246 MB / 0.6231 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.003593/1.27, allocations: 1.276 MB / 0.8641 GB, free: 15.98 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009089/1.271, allocations: 241 kB / 0.8644 GB, free: 15.75 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01471/1.286, allocations: 5.297 MB / 0.8695 GB, free: 10.43 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.018e-05/1.286, allocations: 20 kB / 0.8695 GB, free: 10.41 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.839e-05/1.286, allocations: 4 kB / 0.8696 GB, free: 10.41 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.526e-05/1.286, allocations: 7.969 kB / 0.8696 GB, free: 10.4 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02452/1.31, allocations: 10.07 MB / 0.8794 GB, free: 284 kB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-05/1.31, allocations: 4 kB / 0.8794 GB, free: 280 kB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002/1.312, allocations: 397.8 kB / 0.8798 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01/1.322, allocations: 2.268 MB / 0.882 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005853/1.323, allocations: 59.92 kB / 0.8821 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0185/1.342, allocations: 13.84 MB / 0.8956 GB, free: 14.97 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.03e-05/1.342, allocations: 15.73 kB / 0.8956 GB, free: 14.96 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01445/1.356, allocations: 5.176 MB / 0.9006 GB, free: 9.695 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002364/1.359, allocations: 0.7008 MB / 0.9013 GB, free: 8.973 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007769/1.359, allocations: 55.98 kB / 0.9014 GB, free: 8.918 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002302/1.362, allocations: 236.5 kB / 0.9016 GB, free: 8.688 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005379/1.362, allocations: 168.3 kB / 0.9018 GB, free: 8.527 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001861/1.362, allocations: 75.97 kB / 0.9018 GB, free: 8.453 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002673/1.365, allocations: 1.501 MB / 0.9033 GB, free: 6.934 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.51e-07/1.365, allocations: 0 / 0.9033 GB, free: 6.934 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005732/1.371, allocations: 1.295 MB / 0.9046 GB, free: 5.641 MB / 0.67 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.00219/1.373, allocations: 0.7917 MB / 0.9053 GB, free: 5.191 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01302/1.386, allocations: 6.272 MB / 0.9115 GB, free: 14.9 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-05/1.386, allocations: 5.859 kB / 0.9115 GB, free: 14.9 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.004263/1.39, allocations: 2.362 MB / 0.9138 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006004/1.396, allocations: 0.6637 MB / 0.9144 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0158/1.412, allocations: 8.864 MB / 0.9231 GB, free: 2.914 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002845/1.415, allocations: 2.546 MB / 0.9256 GB, free: 344 kB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001228/1.416, allocations: 242.3 kB / 0.9258 GB, free: 104 kB / 0.6856 GB Notification: Performance of SimCode: time 7.41e-07/1.416, allocations: 0 / 0.9258 GB, free: 104 kB / 0.6856 GB Notification: Performance of Templates: time 0.4845/1.901, allocations: 153.2 MB / 1.075 GB, free: 329.6 MB / 0.7794 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)