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.000984/0.0009838, allocations: 92.78 kB / 15.7 MB, free: 472 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.001222/0.001222, allocations: 171 kB / 16.58 MB, free: 5.93 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.392/1.392, allocations: 223.3 MB / 240.6 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6882/0.6882, allocations: 115.5 MB / 407.2 MB, free: 2.852 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003145/0.0003145, allocations: 12.22 kB / 495.2 MB, free: 6.719 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1744, allocations: 77.53 MB / 0.5593 GB, free: 9.398 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N): time 0.0224/0.1968, allocations: 19.55 MB / 0.5784 GB, free: 5.797 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4695/0.6663, allocations: 144.3 MB / 0.7194 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003219/0.6696, allocations: 63.75 kB / 0.7194 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002213/0.6719, allocations: 0.5355 MB / 0.7199 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006865/0.6788, allocations: 1.548 MB / 0.7214 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005368/0.6842, allocations: 1.389 MB / 0.7228 GB, free: 15.71 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.008615/0.6928, allocations: 5.368 MB / 0.728 GB, free: 10.33 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01197/0.7048, allocations: 5.715 MB / 0.7336 GB, free: 4.562 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003929/0.7088, allocations: 1.514 MB / 0.7351 GB, free: 3.043 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00422/0.713, allocations: 1.935 MB / 0.737 GB, free: 1.102 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001165/0.7142, allocations: 168 kB / 0.7372 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003026/0.7173, allocations: 0.6712 MB / 0.7378 GB, free: 272 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.002554/0.7198, allocations: 1.278 MB / 0.7391 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001677/0.7215, allocations: 0.6951 MB / 0.7397 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.007628/0.7292, allocations: 5.583 MB / 0.7452 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.7292, allocations: 3.938 kB / 0.7452 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.415e-06/0.7292, allocations: 0 / 0.7452 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0002674/0.7295, allocations: 0 / 0.7452 GB, free: 8.68 MB / 0.5606 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.008513/0.738, allocations: 3.347 MB / 0.7485 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.7381, allocations: 8.031 kB / 0.7485 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004905/0.743, allocations: 0.8278 MB / 0.7493 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005869/0.7489, allocations: 2.225 MB / 0.7515 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002938/0.7492, allocations: 234.2 kB / 0.7517 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001132/0.7504, allocations: 304 kB / 0.752 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01294/0.7633, allocations: 4.734 MB / 0.7566 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001133/0.7635, allocations: 7.938 kB / 0.7566 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009836/0.7645, allocations: 132 kB / 0.7567 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004733/0.765, allocations: 218.1 kB / 0.7569 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009289/0.7743, allocations: 4.333 MB / 0.7612 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03237/0.8067, allocations: 18.81 MB / 0.7795 GB, free: 3.789 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003808/0.8105, allocations: 2.217 MB / 0.7817 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001855/0.8124, allocations: 1.141 MB / 0.7828 GB, free: 416 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002817/0.8127, allocations: 130.3 kB / 0.7829 GB, free: 268 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002154/0.8149, allocations: 1.243 MB / 0.7842 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=166): time 3.938e-06/0.8149, allocations: 0 / 0.7842 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=201): time 0.03887/0.8538, allocations: 10.59 MB / 0.7945 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001934/0.854, allocations: 364.1 kB / 0.7948 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003213/0.8573, allocations: 1.934 MB / 0.7967 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0003323/0.8576, allocations: 65.7 kB / 0.7968 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001378/0.859, allocations: 1.472 MB / 0.7982 GB, free: 364 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008005/0.8598, allocations: 0.6626 MB / 0.7989 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/0.86, allocations: 40 kB / 0.7989 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002034/0.8602, allocations: 398 kB / 0.7993 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002086/0.8623, allocations: 1.175 MB / 0.8004 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002415/0.8647, allocations: 1.697 MB / 0.8021 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002382/0.8671, allocations: 1.431 MB / 0.8035 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.118e-05/0.8671, allocations: 4 kB / 0.8035 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.0117/0.8788, allocations: 4.715 MB / 0.8081 GB, free: 6.008 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003699/0.8793, allocations: 463.2 kB / 0.8085 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.482e-05/0.8793, allocations: 12 kB / 0.8086 GB, free: 5.375 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007282/0.8866, allocations: 1.848 MB / 0.8104 GB, free: 3.52 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002152/0.8888, allocations: 487.2 kB / 0.8108 GB, free: 3.043 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01422/0.903, allocations: 9.079 MB / 0.8197 GB, free: 9.699 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002358/0.9054, allocations: 221.2 kB / 0.8199 GB, free: 9.488 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003452/0.9058, allocations: 103.8 kB / 0.82 GB, free: 9.387 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.238e-06/0.9058, allocations: 4 kB / 0.82 GB, free: 9.383 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008762/0.9146, allocations: 3.908 MB / 0.8238 GB, free: 5.469 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.986e-05/0.9146, allocations: 12 kB / 0.8238 GB, free: 5.457 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004622/0.9192, allocations: 1.209 MB / 0.825 GB, free: 4.246 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002231/0.9215, allocations: 0.5031 MB / 0.8255 GB, free: 3.742 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3046/1.226, allocations: 5.639 MB / 0.831 GB, free: 218.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002197/1.228, allocations: 196.1 kB / 0.8312 GB, free: 218.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002284/1.229, allocations: 94.31 kB / 0.8313 GB, free: 218.9 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: 17 ($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,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (244): * Single equations (assignments): 242 * 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.002203/1.231, allocations: 1.241 MB / 0.8325 GB, free: 218.7 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004375/1.231, allocations: 226.8 kB / 0.8327 GB, free: 218.7 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01158/1.243, allocations: 4.61 MB / 0.8372 GB, free: 217.7 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.339e-05/1.243, allocations: 20.84 kB / 0.8372 GB, free: 217.7 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-05/1.243, allocations: 2.906 kB / 0.8372 GB, free: 217.7 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.513e-05/1.243, allocations: 11.34 kB / 0.8373 GB, free: 217.7 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01998/1.263, allocations: 9.754 MB / 0.8468 GB, free: 214.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.38e-05/1.263, allocations: 11.34 kB / 0.8468 GB, free: 214.1 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001554/1.265, allocations: 370.8 kB / 0.8471 GB, free: 214.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006303/1.271, allocations: 1.701 MB / 0.8488 GB, free: 213.9 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003843/1.271, allocations: 57.3 kB / 0.8489 GB, free: 213.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01304/1.284, allocations: 9.041 MB / 0.8577 GB, free: 208.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.047e-06/1.284, allocations: 12.06 kB / 0.8577 GB, free: 208.7 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01019/1.295, allocations: 4.637 MB / 0.8622 GB, free: 207 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001569/1.296, allocations: 0.6464 MB / 0.8629 GB, free: 206.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003627/1.297, allocations: 51.23 kB / 0.8629 GB, free: 206.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001686/1.298, allocations: 218.9 kB / 0.8631 GB, free: 206.5 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004854/1.299, allocations: 185.7 kB / 0.8633 GB, free: 206.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001677/1.299, allocations: 74.81 kB / 0.8634 GB, free: 206.4 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001938/1.301, allocations: 1.338 MB / 0.8647 GB, free: 205.7 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/1.301, allocations: 0 / 0.8647 GB, free: 205.7 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.004604/1.306, allocations: 1.281 MB / 0.8659 GB, free: 205.5 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.001905/1.307, allocations: 0.7991 MB / 0.8667 GB, free: 205.3 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.008934/1.316, allocations: 5.454 MB / 0.872 GB, free: 202.4 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-05/1.316, allocations: 3.781 kB / 0.872 GB, free: 202.4 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003653/1.32, allocations: 2.09 MB / 0.8741 GB, free: 201.2 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003941/1.324, allocations: 0.6004 MB / 0.8747 GB, free: 200.9 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01128/1.335, allocations: 7.924 MB / 0.8824 GB, free: 194 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002497/1.338, allocations: 2.435 MB / 0.8848 GB, free: 191.5 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004986/1.343, allocations: 1.025 MB / 0.8858 GB, free: 190.5 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001001/1.344, allocations: 203.4 kB / 0.886 GB, free: 190.3 MB / 0.6387 GB Notification: Performance of SimCode: time 1.473e-06/1.344, allocations: 4 kB / 0.886 GB, free: 190.3 MB / 0.6387 GB Notification: Performance of Templates: time 0.1234/1.467, allocations: 47.56 MB / 0.9324 GB, free: 143.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)