Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 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(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009314/0.0009315, allocations: 94.14 kB / 16.3 MB, free: 5.996 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.0009116/0.0009118, allocations: 183.6 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.701/1.701, allocations: 205.4 MB / 223.4 MB, free: 5.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3392/0.3392, allocations: 38.04 MB / 309.7 MB, free: 9.023 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005391/0.0005391, allocations: 12 kB / 376.5 MB, free: 15.29 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1482, allocations: 56.33 MB / 432.8 MB, free: 6.855 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.009414/0.1577, allocations: 7.688 MB / 440.5 MB, free: 15.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009314/0.167, allocations: 5.377 MB / 445.9 MB, free: 9.746 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001496/0.1686, allocations: 47.69 kB / 445.9 MB, free: 9.699 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005893/0.1745, allocations: 1.832 MB / 447.8 MB, free: 7.863 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002149/0.1767, allocations: 0.5257 MB / 448.3 MB, free: 7.336 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001555/0.1782, allocations: 387.2 kB / 448.7 MB, free: 6.957 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00183/0.1801, allocations: 0.7762 MB / 449.4 MB, free: 6.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001984/0.1821, allocations: 1.143 MB / 450.6 MB, free: 4.988 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007949/0.1829, allocations: 450.4 kB / 451 MB, free: 4.547 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006962/0.1836, allocations: 482.3 kB / 451.5 MB, free: 4.074 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.848e-05/0.1837, allocations: 52 kB / 451.6 MB, free: 4.023 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006643/0.1844, allocations: 267.6 kB / 451.8 MB, free: 3.762 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003839/0.1848, allocations: 399 kB / 452.2 MB, free: 3.371 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002402/0.185, allocations: 233.1 kB / 452.4 MB, free: 3.137 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001335/0.1864, allocations: 1.352 MB / 453.8 MB, free: 1.781 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1864, allocations: 0 / 453.8 MB, free: 1.781 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.1864, allocations: 0 / 453.8 MB, free: 1.781 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.761e-05/0.1864, allocations: 0 / 453.8 MB, free: 1.781 MB / 382.1 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.002498/0.1889, allocations: 1.226 MB / 455 MB, free: 0.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.189, allocations: 16.02 kB / 455 MB, free: 496 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006986/0.1897, allocations: 154.5 kB / 455.2 MB, free: 340 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2705/0.4602, allocations: 0.9123 MB / 456.1 MB, free: 51.53 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.468e-05/0.4603, allocations: 58.8 kB / 456.1 MB, free: 51.53 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001992/0.4605, allocations: 91.61 kB / 456.2 MB, free: 51.53 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001546/0.462, allocations: 1.058 MB / 457.3 MB, free: 51.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.162e-05/0.4621, allocations: 8 kB / 457.3 MB, free: 51.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.298e-05/0.4621, allocations: 26.25 kB / 457.3 MB, free: 51.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001985/0.4624, allocations: 72.92 kB / 457.4 MB, free: 51.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/0.4635, allocations: 0.8252 MB / 458.2 MB, free: 51.37 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005099/0.4686, allocations: 4.01 MB / 462.2 MB, free: 49.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.4697, allocations: 0.6277 MB / 462.9 MB, free: 49.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.313e-05/0.4697, allocations: 7.531 kB / 462.9 MB, free: 49.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/0.4698, allocations: 44.75 kB / 462.9 MB, free: 49.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=57): time 3.436e-06/0.4698, allocations: 0 / 462.9 MB, free: 49.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=65): time 0.00401/0.4738, allocations: 2.584 MB / 465.5 MB, free: 48.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.4739, allocations: 116.2 kB / 465.6 MB, free: 48.06 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007002/0.4746, allocations: 0.6897 MB / 466.3 MB, free: 47.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.381e-05/0.4746, allocations: 43.94 kB / 466.3 MB, free: 47.71 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002357/0.4749, allocations: 482.2 kB / 466.8 MB, free: 47.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00014/0.475, allocations: 236.4 kB / 467 MB, free: 47.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.458e-05/0.4751, allocations: 15.16 kB / 467.1 MB, free: 47.15 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.4752, allocations: 395.5 kB / 467.4 MB, free: 46.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003931/0.4756, allocations: 304.2 kB / 467.7 MB, free: 46.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004418/0.476, allocations: 0.5114 MB / 468.3 MB, free: 46.33 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00253/0.4786, allocations: 0.9133 MB / 469.2 MB, free: 46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.4786, allocations: 0 / 469.2 MB, free: 46 MB / 382.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002005/0.4806, allocations: 1.268 MB / 470.4 MB, free: 45.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.4806, allocations: 8.781 kB / 470.4 MB, free: 45.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.4806, allocations: 7.094 kB / 470.5 MB, free: 45.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009414/0.4816, allocations: 400.5 kB / 470.8 MB, free: 45.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004683/0.4821, allocations: 151.5 kB / 471 MB, free: 45.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005864/0.4879, allocations: 5.893 MB / 476.9 MB, free: 41.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005607/0.4885, allocations: 23.66 kB / 476.9 MB, free: 41.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.095e-05/0.4886, allocations: 40.12 kB / 476.9 MB, free: 41.21 MB / 382.1 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.0005316/0.4891, allocations: 349.5 kB / 477.3 MB, free: 40.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.4892, allocations: 90.73 kB / 477.4 MB, free: 40.94 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001307/0.4906, allocations: 0.8883 MB / 478.3 MB, free: 40.54 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.4906, allocations: 6.281 kB / 478.3 MB, free: 40.54 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.4906, allocations: 4.469 kB / 478.3 MB, free: 40.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.4906, allocations: 3.281 kB / 478.3 MB, free: 40.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002671/0.4933, allocations: 2.006 MB / 480.3 MB, free: 39.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.4933, allocations: 3.938 kB / 480.3 MB, free: 39.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005314/0.4938, allocations: 117.6 kB / 480.4 MB, free: 39.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004629/0.4943, allocations: 198.9 kB / 480.6 MB, free: 39.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.838e-05/0.4944, allocations: 25.11 kB / 480.6 MB, free: 39.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003083/0.4974, allocations: 5.037 MB / 485.7 MB, free: 34.86 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.4975, allocations: 3.062 kB / 485.7 MB, free: 34.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001569/0.499, allocations: 1.332 MB / 487 MB, free: 34.12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000316/0.4994, allocations: 211.7 kB / 487.2 MB, free: 33.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.4995, allocations: 25.41 kB / 487.2 MB, free: 33.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003226/0.4998, allocations: 15.59 kB / 487.2 MB, free: 33.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.832e-05/0.4999, allocations: 56.81 kB / 487.3 MB, free: 33.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.761e-05/0.5, allocations: 23.88 kB / 487.3 MB, free: 33.9 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005459/0.5005, allocations: 495.6 kB / 487.8 MB, free: 33.69 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.5005, allocations: 0 / 487.8 MB, free: 33.69 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001031/0.5016, allocations: 247.8 kB / 488 MB, free: 33.66 MB / 382.1 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.0009368/0.5025, allocations: 416.2 kB / 488.5 MB, free: 33.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001798/0.5043, allocations: 1.138 MB / 489.6 MB, free: 32.81 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5043, allocations: 0 / 489.6 MB, free: 32.81 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007645/0.5051, allocations: 0.7148 MB / 490.3 MB, free: 32.33 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006838/0.5058, allocations: 163.2 kB / 490.5 MB, free: 32.28 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003505/0.5093, allocations: 3.009 MB / 493.5 MB, free: 30.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006489/0.51, allocations: 1.164 MB / 494.6 MB, free: 29.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004956/0.5105, allocations: 158 kB / 494.8 MB, free: 29.65 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/0.5106, allocations: 61.62 kB / 494.9 MB, free: 29.64 MB / 382.1 MB Notification: Performance of SimCode: time 8.91e-07/0.5106, allocations: 0 / 494.9 MB, free: 29.64 MB / 382.1 MB Notification: Performance of Templates: time 0.03496/0.5456, allocations: 11.51 MB / 0.4945 GB, free: 28.36 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe 2>&1) Environment - environmentSimulation: