Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.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.TurboGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008642/0.0008645, allocations: 95.73 kB / 16.3 MB, free: 6.461 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.0009654/0.0009655, allocations: 172.9 kB / 17.19 MB, free: 6.348 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.569/1.569, allocations: 205.4 MB / 223.4 MB, free: 13.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1977/0.1977, allocations: 38.05 MB / 309.7 MB, free: 6.125 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.0005139/0.0005141, allocations: 16 kB / 376.5 MB, free: 3.215 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3127, allocations: 56.34 MB / 432.8 MB, free: 18.86 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine): time 0.01031/0.3231, allocations: 10.39 MB / 443.2 MB, free: 8.43 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007422/0.3305, allocations: 4.23 MB / 447.4 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00151/0.3321, allocations: 67.56 kB / 447.5 MB, free: 4.121 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009794/0.3331, allocations: 349.9 kB / 447.8 MB, free: 3.777 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002532/0.3356, allocations: 0.7671 MB / 448.6 MB, free: 3.008 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001778/0.3374, allocations: 0.587 MB / 449.2 MB, free: 2.422 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001777/0.3392, allocations: 1.049 MB / 450.2 MB, free: 1.371 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002262/0.3415, allocations: 1.518 MB / 451.8 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001208/0.3427, allocations: 0.58 MB / 452.3 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009044/0.3436, allocations: 0.6151 MB / 453 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001217/0.3437, allocations: 60 kB / 453 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001064/0.3448, allocations: 415.3 kB / 453.4 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005726/0.3454, allocations: 0.5612 MB / 454 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003679/0.3458, allocations: 305 kB / 454.3 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00192/0.3477, allocations: 1.753 MB / 456 MB, free: 11.51 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.3477, allocations: 0 / 456 MB, free: 11.51 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.736e-06/0.3477, allocations: 3.938 kB / 456 MB, free: 11.51 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.467e-05/0.3478, allocations: 4 kB / 456 MB, free: 11.5 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.003399/0.3512, allocations: 1.556 MB / 457.6 MB, free: 9.891 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.3513, allocations: 8.031 kB / 457.6 MB, free: 9.883 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001604/0.3529, allocations: 293.8 kB / 457.9 MB, free: 9.594 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0022/0.3551, allocations: 1.027 MB / 458.9 MB, free: 8.523 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.864e-05/0.3552, allocations: 90.34 kB / 459 MB, free: 8.434 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003379/0.3555, allocations: 155.8 kB / 459.2 MB, free: 8.281 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002641/0.3582, allocations: 1.674 MB / 460.8 MB, free: 6.535 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.605e-05/0.3582, allocations: 4 kB / 460.8 MB, free: 6.531 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001261/0.3584, allocations: 48 kB / 460.9 MB, free: 6.484 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002888/0.3587, allocations: 102.4 kB / 461 MB, free: 6.383 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002379/0.361, allocations: 1.434 MB / 462.4 MB, free: 4.941 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009087/0.3701, allocations: 6.099 MB / 468.5 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/0.3713, allocations: 0.7289 MB / 469.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.973e-05/0.3714, allocations: 8.719 kB / 469.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.3715, allocations: 47.2 kB / 469.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.966e-06/0.3715, allocations: 0 / 469.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=82): time 0.01057/0.382, allocations: 4.394 MB / 473.7 MB, free: 9.148 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001348/0.3822, allocations: 170.9 kB / 473.9 MB, free: 8.945 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001392/0.3836, allocations: 0.8297 MB / 474.7 MB, free: 8.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.576e-05/0.3837, allocations: 41.7 kB / 474.7 MB, free: 8.043 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005501/0.3843, allocations: 0.6312 MB / 475.4 MB, free: 7.402 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002853/0.3846, allocations: 299.7 kB / 475.7 MB, free: 7.105 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.265e-05/0.3846, allocations: 24 kB / 475.7 MB, free: 7.082 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.3848, allocations: 349.9 kB / 476 MB, free: 6.734 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007534/0.3856, allocations: 486.3 kB / 476.5 MB, free: 6.262 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009902/0.3866, allocations: 0.7658 MB / 477.3 MB, free: 5.375 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00094/0.3875, allocations: 0.5965 MB / 477.9 MB, free: 4.777 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.962e-06/0.3875, allocations: 4 kB / 477.9 MB, free: 4.773 MB / 350.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003628/0.3912, allocations: 1.894 MB / 479.8 MB, free: 2.855 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001436/0.3926, allocations: 3.227 MB / 483 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00291/0.3955, allocations: 1.499 MB / 484.5 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001937/0.3975, allocations: 0.5466 MB / 485 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001629/0.3991, allocations: 487.4 kB / 485.5 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01504/0.4142, allocations: 13.46 MB / 499 MB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001178/0.4154, allocations: 63.95 kB / 499 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.571e-05/0.4155, allocations: 44 kB / 499.1 MB, free: 14.31 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.4155, allocations: 4 kB / 499.1 MB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003372/0.4189, allocations: 1.718 MB / 0.4891 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002869/0.4218, allocations: 1.433 MB / 0.4905 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001913/0.4237, allocations: 0.5657 MB / 0.491 GB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007943/0.4245, allocations: 223.6 kB / 0.4912 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01201/0.4365, allocations: 10.34 MB / 0.5013 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001179/0.4378, allocations: 47.97 kB / 0.5014 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.211e-05/0.4379, allocations: 52.05 kB / 0.5014 GB, free: 15.23 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (118): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(2,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 1 {2 11} Notification: Performance of prepare postOptimizeDAE: time 0.001198/0.4391, allocations: 0.5006 MB / 0.5019 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002477/0.4393, allocations: 98.78 kB / 0.502 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002684/0.442, allocations: 1.405 MB / 0.5034 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.96e-05/0.4421, allocations: 15.95 kB / 0.5034 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.4421, allocations: 4 kB / 0.5034 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.484e-05/0.4421, allocations: 7.969 kB / 0.5034 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005206/0.4473, allocations: 2.854 MB / 0.5062 GB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.4473, allocations: 0 / 0.5062 GB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005543/0.4479, allocations: 143.8 kB / 0.5063 GB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001051/0.449, allocations: 396 kB / 0.5067 GB, free: 9.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.195e-05/0.449, allocations: 35.94 kB / 0.5067 GB, free: 9.625 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007905/0.457, allocations: 8.756 MB / 0.5153 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.457, allocations: 4 kB / 0.5153 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2965/0.7535, allocations: 2.055 MB / 0.5173 GB, free: 81.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006387/0.7542, allocations: 261.1 kB / 0.5176 GB, free: 81.66 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001512/0.7543, allocations: 28.16 kB / 0.5176 GB, free: 81.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005377/0.7549, allocations: 47.42 kB / 0.5176 GB, free: 81.66 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002032/0.7551, allocations: 69.55 kB / 0.5177 GB, free: 81.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.828e-05/0.7552, allocations: 28.31 kB / 0.5177 GB, free: 81.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009339/0.7561, allocations: 0.5693 MB / 0.5183 GB, free: 81.55 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.7561, allocations: 2.219 kB / 0.5183 GB, free: 81.55 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002556/0.7587, allocations: 0.6392 MB / 0.5189 GB, free: 81.55 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 8 (turboGen.generator.i_s[1],turboGen.generator.i_s[2],turboGen.generator.i_s[3],turboGen.rotor.phi,turboGen.rotor.w,RLgen1.i[1],RLgen1.i[2],RLgen1.i[3]) * 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 (65): * Single equations (assignments): 59 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 10,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003598/0.759, allocations: 154.5 kB / 0.519 GB, free: 81.46 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005976/0.765, allocations: 3.523 MB / 0.5225 GB, free: 80.3 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.645e-06/0.765, allocations: 0 / 0.5225 GB, free: 80.3 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001853/0.7669, allocations: 1.174 MB / 0.5236 GB, free: 79.69 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/0.7681, allocations: 223.4 kB / 0.5238 GB, free: 79.62 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00645/0.7746, allocations: 3.685 MB / 0.5274 GB, free: 77.72 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001026/0.7756, allocations: 1.37 MB / 0.5288 GB, free: 76.92 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00109/0.7767, allocations: 357.4 kB / 0.5291 GB, free: 76.87 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001834/0.7769, allocations: 72.23 kB / 0.5292 GB, free: 76.86 MB / 398.1 MB Notification: Performance of SimCode: time 1.383e-06/0.7769, allocations: 0 / 0.5292 GB, free: 76.86 MB / 398.1 MB Notification: Performance of Templates: time 0.0279/0.8048, allocations: 20.14 MB / 0.5489 GB, free: 60.99 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.pipe 2>&1) Environment - environmentSimulation: