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.000831/0.000831, allocations: 92.95 kB / 16.02 MB, free: 84 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.0009531/0.000953, allocations: 183.9 kB / 16.92 MB, free: 6.934 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.349/1.349, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7065/0.7065, allocations: 115.5 MB / 407.6 MB, free: 2.668 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004083/0.0004083, allocations: 11.98 kB / 495.9 MB, free: 6.328 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1751, allocations: 77.54 MB / 0.56 GB, free: 8.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N): time 0.0272/0.2023, allocations: 20.76 MB / 0.5802 GB, free: 4.156 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4768/0.6792, allocations: 154.6 MB / 0.7312 GB, free: 7.359 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002193/0.6814, allocations: 63.62 kB / 0.7313 GB, free: 7.297 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001685/0.6831, allocations: 0.5434 MB / 0.7318 GB, free: 6.75 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004998/0.6881, allocations: 1.721 MB / 0.7335 GB, free: 5.027 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004867/0.693, allocations: 1.762 MB / 0.7352 GB, free: 3.281 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.007922/0.7009, allocations: 6.613 MB / 0.7417 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009908/0.7109, allocations: 6.606 MB / 0.7481 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002805/0.7137, allocations: 1.513 MB / 0.7496 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003318/0.717, allocations: 1.996 MB / 0.7516 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005106/0.7176, allocations: 168 kB / 0.7517 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002276/0.7198, allocations: 1.01 MB / 0.7527 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001354/0.7212, allocations: 1.293 MB / 0.754 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002019/0.7232, allocations: 1.703 MB / 0.7556 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007965/0.7312, allocations: 6.541 MB / 0.762 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.7312, allocations: 0 / 0.762 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.245e-06/0.7313, allocations: 0 / 0.762 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001761/0.7314, allocations: 0 / 0.762 GB, free: 7.688 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: 825 * Number of variables: 825 Notification: Performance of Generate backend data structure: time 0.007049/0.7385, allocations: 3.299 MB / 0.7652 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.7386, allocations: 8.031 kB / 0.7652 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004194/0.7428, allocations: 0.8383 MB / 0.7661 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004248/0.747, allocations: 2.289 MB / 0.7683 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002055/0.7473, allocations: 238.2 kB / 0.7685 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006141/0.7479, allocations: 308 kB / 0.7688 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008198/0.7561, allocations: 4.754 MB / 0.7735 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.826e-05/0.7562, allocations: 15.92 kB / 0.7735 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003537/0.7565, allocations: 132 kB / 0.7736 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004273/0.757, allocations: 218 kB / 0.7738 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007935/0.7649, allocations: 4.357 MB / 0.7781 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02467/0.7896, allocations: 18.83 MB / 0.7965 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003606/0.7933, allocations: 2.226 MB / 0.7986 GB, free: 452 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001699/0.795, allocations: 1.132 MB / 0.7997 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002115/0.7952, allocations: 138.2 kB / 0.7999 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001888/0.7971, allocations: 1.254 MB / 0.8011 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=166): time 3.526e-06/0.7972, allocations: 0 / 0.8011 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of matching and sorting (n=201): time 0.03343/0.8306, allocations: 10.61 MB / 0.8114 GB, free: 3.191 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002193/0.8309, allocations: 360.1 kB / 0.8118 GB, free: 2.762 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003649/0.8345, allocations: 1.946 MB / 0.8137 GB, free: 0.7695 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0003946/0.8349, allocations: 61.7 kB / 0.8137 GB, free: 0.7031 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001633/0.8366, allocations: 1.472 MB / 0.8152 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000774/0.8374, allocations: 0.6702 MB / 0.8158 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003623/0.8377, allocations: 173.9 kB / 0.816 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.8379, allocations: 301.1 kB / 0.8163 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002301/0.8402, allocations: 1.183 MB / 0.8174 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002747/0.8429, allocations: 1.7 MB / 0.8191 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004743/0.8477, allocations: 2.978 MB / 0.822 GB, free: 7.82 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.629e-05/0.8477, allocations: 7.938 kB / 0.822 GB, free: 7.812 MB / 0.6387 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.01253/0.8603, allocations: 4.735 MB / 0.8266 GB, free: 3.059 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003725/0.8607, allocations: 468.7 kB / 0.8271 GB, free: 2.434 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.71e-05/0.8607, allocations: 12 kB / 0.8271 GB, free: 2.422 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008177/0.8689, allocations: 1.848 MB / 0.8289 GB, free: 0.5664 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002234/0.8712, allocations: 487.2 kB / 0.8294 GB, free: 92 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.312/1.183, allocations: 9.097 MB / 0.8383 GB, free: 219.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003297/1.186, allocations: 221.1 kB / 0.8385 GB, free: 219.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005885/1.187, allocations: 96.11 kB / 0.8386 GB, free: 219.5 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/1.187, allocations: 5.484 kB / 0.8386 GB, free: 219.5 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01147/1.199, allocations: 3.924 MB / 0.8424 GB, free: 218.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.734e-05/1.199, allocations: 16.16 kB / 0.8424 GB, free: 218.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00591/1.205, allocations: 1.194 MB / 0.8436 GB, free: 218.1 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002626/1.207, allocations: 0.5006 MB / 0.8441 GB, free: 218 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01066/1.218, allocations: 5.669 MB / 0.8496 GB, free: 215.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002743/1.221, allocations: 194.2 kB / 0.8498 GB, free: 215.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005201/1.221, allocations: 95.72 kB / 0.8499 GB, free: 215 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 (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 (244): * Single equations (assignments): 242 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of prepare postOptimizeDAE: time 0.002889/1.224, allocations: 1.236 MB / 0.8511 GB, free: 214.4 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007782/1.225, allocations: 229.6 kB / 0.8513 GB, free: 214.4 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0118/1.237, allocations: 4.614 MB / 0.8558 GB, free: 213 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.091e-05/1.237, allocations: 21.38 kB / 0.8558 GB, free: 213 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/1.237, allocations: 3.219 kB / 0.8558 GB, free: 213 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-05/1.237, allocations: 7.406 kB / 0.8558 GB, free: 213 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01944/1.256, allocations: 9.761 MB / 0.8654 GB, free: 208.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.516e-05/1.256, allocations: 9.625 kB / 0.8654 GB, free: 208.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001535/1.258, allocations: 370.2 kB / 0.8657 GB, free: 208.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006379/1.264, allocations: 1.698 MB / 0.8674 GB, free: 207.3 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003392/1.265, allocations: 55.53 kB / 0.8675 GB, free: 207.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01236/1.277, allocations: 9.052 MB / 0.8763 GB, free: 200.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/1.277, allocations: 11.66 kB / 0.8763 GB, free: 200.8 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009866/1.287, allocations: 4.656 MB / 0.8809 GB, free: 197.5 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001935/1.289, allocations: 0.6533 MB / 0.8815 GB, free: 196.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004459/1.289, allocations: 47.98 kB / 0.8815 GB, free: 196.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00175/1.291, allocations: 231 kB / 0.8818 GB, free: 196.6 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004481/1.292, allocations: 173.6 kB / 0.8819 GB, free: 196.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001343/1.292, allocations: 75.98 kB / 0.882 GB, free: 196.3 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001714/1.294, allocations: 1.349 MB / 0.8833 GB, free: 195 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.71e-07/1.294, allocations: 0 / 0.8833 GB, free: 195 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003903/1.297, allocations: 1.287 MB / 0.8846 GB, free: 193.7 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001834/1.299, allocations: 0.7922 MB / 0.8853 GB, free: 193.2 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.009891/1.309, allocations: 5.482 MB / 0.8907 GB, free: 187.7 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-05/1.309, allocations: 0 / 0.8907 GB, free: 187.7 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003699/1.313, allocations: 2.096 MB / 0.8927 GB, free: 185.6 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005025/1.318, allocations: 0.6214 MB / 0.8933 GB, free: 185 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01066/1.329, allocations: 8.213 MB / 0.9014 GB, free: 176.7 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001947/1.331, allocations: 2.439 MB / 0.9037 GB, free: 174.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003259/1.334, allocations: 1.029 MB / 0.9048 GB, free: 173.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005777/1.335, allocations: 203.4 kB / 0.9049 GB, free: 173 MB / 0.6387 GB Notification: Performance of SimCode: time 1.323e-06/1.335, allocations: 0 / 0.9049 GB, free: 173 MB / 0.6387 GB Notification: Performance of Templates: time 0.07026/1.405, allocations: 48.68 MB / 0.9525 GB, free: 124.7 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)