Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00165/0.00165, allocations: 188.1 kB / 15.77 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.987/1.987, allocations: 205.4 MB / 221.9 MB, free: 13.81 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001142/0.001142, allocations: 94.84 kB / 270.2 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.262/0.262, allocations: 38.06 MB / 356.6 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004466/0.0004466, allocations: 11.98 kB / 422.7 MB, free: 26.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1081, allocations: 56.33 MB / 479 MB, free: 2.031 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.01313/0.1213, allocations: 7.698 MB / 486.7 MB, free: 10.3 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01282/0.1342, allocations: 5.381 MB / 492.1 MB, free: 4.906 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001234/0.1354, allocations: 55.62 kB / 492.2 MB, free: 4.852 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007819/0.1433, allocations: 1.812 MB / 494 MB, free: 3.031 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002457/0.1458, allocations: 0.5219 MB / 494.5 MB, free: 2.508 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001822/0.1477, allocations: 387.2 kB / 494.9 MB, free: 2.129 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002213/0.1499, allocations: 0.7723 MB / 495.7 MB, free: 1.355 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00263/0.1526, allocations: 1.154 MB / 496.8 MB, free: 160 kB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001094/0.1537, allocations: 438.5 kB / 497.2 MB, free: 15.73 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001026/0.1547, allocations: 490.2 kB / 497.7 MB, free: 15.25 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001852/0.1549, allocations: 48 kB / 497.8 MB, free: 15.2 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009001/0.1559, allocations: 267.6 kB / 498 MB, free: 14.94 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005994/0.1565, allocations: 403 kB / 498.4 MB, free: 14.54 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003828/0.1569, allocations: 237.1 kB / 498.6 MB, free: 14.3 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002203/0.1591, allocations: 1.344 MB / 500 MB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1591, allocations: 0 / 500 MB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.1592, allocations: 0 / 500 MB, free: 12.96 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.169e-05/0.1592, allocations: 0 / 500 MB, free: 12.96 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.004016/0.1632, allocations: 1.234 MB / 0.4895 GB, free: 11.67 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.1633, allocations: 8.031 kB / 0.4895 GB, free: 11.66 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00124/0.1645, allocations: 158.5 kB / 0.4896 GB, free: 11.51 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00305/0.1676, allocations: 0.9174 MB / 0.4905 GB, free: 10.55 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.659e-05/0.1677, allocations: 61.98 kB / 0.4906 GB, free: 10.49 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003791/0.1681, allocations: 87.91 kB / 0.4907 GB, free: 10.4 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002744/0.1709, allocations: 1.051 MB / 0.4917 GB, free: 9.309 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.176e-05/0.171, allocations: 4 kB / 0.4917 GB, free: 9.305 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001351/0.1711, allocations: 35.94 kB / 0.4917 GB, free: 9.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004222/0.1716, allocations: 73.95 kB / 0.4918 GB, free: 9.199 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002551/0.1741, allocations: 0.8275 MB / 0.4926 GB, free: 8.371 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01018/0.1843, allocations: 4.024 MB / 0.4965 GB, free: 4.16 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00176/0.1861, allocations: 0.6325 MB / 0.4972 GB, free: 3.492 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.308e-05/0.1863, allocations: 8.953 kB / 0.4972 GB, free: 3.484 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.191e-05/0.1863, allocations: 43.12 kB / 0.4972 GB, free: 3.434 MB / 346.7 MB Notification: Performance of pre-optimization done (n=57): time 5.38e-06/0.1863, allocations: 0 / 0.4972 GB, free: 3.434 MB / 346.7 MB Notification: Performance of matching and sorting (n=65): time 0.008095/0.1944, allocations: 2.588 MB / 0.4997 GB, free: 0.7461 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.917e-05/0.1946, allocations: 111.4 kB / 0.4998 GB, free: 0.6133 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001401/0.196, allocations: 0.6919 MB / 0.5005 GB, free: 15.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000157/0.1962, allocations: 37.7 kB / 0.5006 GB, free: 15.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004612/0.1966, allocations: 497.5 kB / 0.501 GB, free: 15.38 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003541/0.197, allocations: 232.6 kB / 0.5013 GB, free: 15.14 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.168e-05/0.1971, allocations: 20 kB / 0.5013 GB, free: 15.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.1973, allocations: 346.8 kB / 0.5016 GB, free: 14.78 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000839/0.1981, allocations: 305.8 kB / 0.5019 GB, free: 14.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/0.1992, allocations: 0.5071 MB / 0.5024 GB, free: 13.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005111/0.2043, allocations: 0.9051 MB / 0.5033 GB, free: 12.96 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.439e-05/0.2044, allocations: 0 / 0.5033 GB, free: 12.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.00412/0.2085, allocations: 1.22 MB / 0.5045 GB, free: 11.72 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.32e-05/0.2086, allocations: 8 kB / 0.5045 GB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.073e-05/0.2086, allocations: 4 kB / 0.5045 GB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001982/0.2106, allocations: 405.5 kB / 0.5049 GB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/0.2118, allocations: 151.7 kB / 0.505 GB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01236/0.2242, allocations: 5.887 MB / 0.5108 GB, free: 4.984 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008317/0.225, allocations: 24 kB / 0.5108 GB, free: 4.961 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-05/0.2251, allocations: 39.98 kB / 0.5108 GB, free: 4.922 MB / 362.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.windGen.WT.gear.w = $DER.windGen.WT.genRotor.w. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 73 * 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 {(1,100.0%) 4} * Non-linear torn systems: 1 {4 21} Notification: Performance of prepare postOptimizeDAE: time 0.0007865/0.2259, allocations: 353.5 kB / 0.5112 GB, free: 4.566 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001876/0.2261, allocations: 82.97 kB / 0.5112 GB, free: 4.484 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002637/0.2288, allocations: 0.8995 MB / 0.5121 GB, free: 3.559 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/0.2288, allocations: 7.984 kB / 0.5121 GB, free: 3.551 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.2289, allocations: 8 kB / 0.5121 GB, free: 3.543 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/0.2289, allocations: 3.984 kB / 0.5121 GB, free: 3.539 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005344/0.2342, allocations: 2.002 MB / 0.5141 GB, free: 1.434 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.889e-06/0.2343, allocations: 8.094 kB / 0.5141 GB, free: 1.426 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001192/0.2355, allocations: 123.8 kB / 0.5142 GB, free: 1.305 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009149/0.2364, allocations: 178.4 kB / 0.5144 GB, free: 1.121 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.273e-05/0.2365, allocations: 23.98 kB / 0.5144 GB, free: 1.098 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3295/0.5661, allocations: 5.045 MB / 0.5193 GB, free: 47.86 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.5661, allocations: 2.438 kB / 0.5193 GB, free: 47.86 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003174/0.5693, allocations: 1.329 MB / 0.5206 GB, free: 47.56 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000499/0.5699, allocations: 210.7 kB / 0.5208 GB, free: 47.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001646/0.5701, allocations: 22.25 kB / 0.5209 GB, free: 47.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006079/0.5707, allocations: 19.66 kB / 0.5209 GB, free: 47.44 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001891/0.5709, allocations: 55.06 kB / 0.5209 GB, free: 47.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.817e-05/0.571, allocations: 19.42 kB / 0.5209 GB, free: 47.42 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0009329/0.5719, allocations: 496.2 kB / 0.5214 GB, free: 47.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5719, allocations: 0 / 0.5214 GB, free: 47.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001435/0.5734, allocations: 246.9 kB / 0.5217 GB, free: 47.18 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 11 (windGen.generator.i[3],windGen.generator.psi_rd[1],windGen.generator.psi_rq[1],windGen.WT.genRotor.phi,windGen.WT.genRotor.w,windGen.WT.turbine.phi,windGen.WT.turbine.w,windGen.WT.gear.phi,windGen.WT.gear.w,line.i[1],line.i[2]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00117/0.5745, allocations: 417.9 kB / 0.5221 GB, free: 46.95 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003041/0.5776, allocations: 1.133 MB / 0.5232 GB, free: 46.42 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.5777, allocations: 0 / 0.5232 GB, free: 46.42 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00146/0.5791, allocations: 0.7133 MB / 0.5239 GB, free: 45.95 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/0.5804, allocations: 164.5 kB / 0.524 GB, free: 45.89 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00608/0.5865, allocations: 3.079 MB / 0.527 GB, free: 44.09 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/0.5876, allocations: 1.162 MB / 0.5282 GB, free: 43.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003633/0.588, allocations: 60.22 kB / 0.5282 GB, free: 43.31 MB / 362.7 MB Notification: Performance of SimCode: time 1.313e-06/0.588, allocations: 0 / 0.5282 GB, free: 43.31 MB / 362.7 MB Notification: Performance of Templates: time 0.03804/0.6261, allocations: 21.48 MB / 0.5492 GB, free: 29.8 MB / 362.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe 2>&1)