Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002296/0.002296, allocations: 356 kB / 16.57 MB, free: 5.59 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.059/3.059, allocations: 388.9 MB / 406.2 MB, free: 6.852 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003086/0.003085, allocations: 230.5 kB / 451.6 MB, free: 0.5781 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.6007/0.6007, allocations: 76.01 MB / 0.5594 GB, free: 14.48 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004348/0.000435, allocations: 8 kB / 0.6216 GB, free: 14.89 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.253, allocations: 53.22 MB / 0.6736 GB, free: 62.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine): time 0.009644/0.2627, allocations: 10.9 MB / 0.6843 GB, free: 51.7 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006117/0.2689, allocations: 4.172 MB / 0.6883 GB, free: 47.53 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007057/0.2696, allocations: 67.56 kB / 0.6884 GB, free: 47.46 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007141/0.2704, allocations: 333.7 kB / 0.6887 GB, free: 47.14 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001814/0.2722, allocations: 0.9328 MB / 0.6896 GB, free: 46.2 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001525/0.2737, allocations: 0.5613 MB / 0.6902 GB, free: 45.64 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001915/0.2757, allocations: 2.4 MB / 0.6925 GB, free: 43.23 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002363/0.278, allocations: 1.502 MB / 0.694 GB, free: 41.68 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006644/0.2787, allocations: 0.6533 MB / 0.6946 GB, free: 41.02 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001159/0.2799, allocations: 0.9385 MB / 0.6955 GB, free: 40.08 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001591/0.2801, allocations: 60 kB / 0.6956 GB, free: 40.02 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009059/0.281, allocations: 431.1 kB / 0.696 GB, free: 39.6 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004812/0.2815, allocations: 0.6234 MB / 0.6966 GB, free: 38.98 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003356/0.2818, allocations: 301 kB / 0.6969 GB, free: 38.68 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001507/0.2834, allocations: 1.757 MB / 0.6986 GB, free: 36.91 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.381e-06/0.2834, allocations: 0 / 0.6986 GB, free: 36.91 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2834, allocations: 0 / 0.6986 GB, free: 36.91 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.685e-05/0.2834, allocations: 0 / 0.6986 GB, free: 36.91 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: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.0027/0.2861, allocations: 1.544 MB / 0.7001 GB, free: 35.31 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.2862, allocations: 8.031 kB / 0.7001 GB, free: 35.3 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001726/0.2879, allocations: 297.9 kB / 0.7004 GB, free: 35.01 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001926/0.2899, allocations: 1.019 MB / 0.7014 GB, free: 33.95 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.226e-05/0.29, allocations: 90.33 kB / 0.7015 GB, free: 33.86 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003429/0.2903, allocations: 147.9 kB / 0.7016 GB, free: 33.72 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002501/0.2928, allocations: 1.678 MB / 0.7033 GB, free: 31.97 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.373e-05/0.2929, allocations: 4 kB / 0.7033 GB, free: 31.96 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001293/0.293, allocations: 52 kB / 0.7033 GB, free: 31.91 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002774/0.2933, allocations: 102.3 kB / 0.7034 GB, free: 31.81 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002606/0.2959, allocations: 1.426 MB / 0.7048 GB, free: 30.38 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007993/0.304, allocations: 6.088 MB / 0.7108 GB, free: 23.96 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.305, allocations: 0.6552 MB / 0.7114 GB, free: 23.29 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00083/0.3059, allocations: 468.4 kB / 0.7118 GB, free: 22.82 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.27e-05/0.306, allocations: 20.62 kB / 0.7119 GB, free: 22.8 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.306, allocations: 47.16 kB / 0.7119 GB, free: 22.74 MB / 346.7 MB Notification: Performance of pre-optimization done (n=73): time 3.93e-06/0.306, allocations: 0 / 0.7119 GB, free: 22.74 MB / 346.7 MB Notification: Performance of matching and sorting (n=84): time 0.009833/0.3159, allocations: 4.573 MB / 0.7164 GB, free: 18.03 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.3159, allocations: 174.8 kB / 0.7165 GB, free: 17.82 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009688/0.3169, allocations: 0.8216 MB / 0.7173 GB, free: 16.99 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.34e-05/0.317, allocations: 41.7 kB / 0.7174 GB, free: 16.95 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003272/0.3173, allocations: 0.6273 MB / 0.718 GB, free: 16.31 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002007/0.3175, allocations: 303.7 kB / 0.7183 GB, free: 16.01 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.456e-05/0.3177, allocations: 24 kB / 0.7183 GB, free: 15.98 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.738e-05/0.3178, allocations: 354 kB / 0.7187 GB, free: 15.63 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000849/0.3186, allocations: 482.3 kB / 0.7191 GB, free: 15.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009573/0.3196, allocations: 0.7658 MB / 0.7199 GB, free: 14.28 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009706/0.3206, allocations: 0.6042 MB / 0.7204 GB, free: 13.68 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.175e-06/0.3206, allocations: 4 kB / 0.7205 GB, free: 13.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003962/0.3246, allocations: 1.898 MB / 0.7223 GB, free: 11.75 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001244/0.3247, allocations: 336.2 kB / 0.7226 GB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003343/0.3281, allocations: 1.507 MB / 0.7241 GB, free: 9.785 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002285/0.3304, allocations: 0.5738 MB / 0.7247 GB, free: 9.195 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001653/0.332, allocations: 487.4 kB / 0.7251 GB, free: 8.719 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01511/0.3472, allocations: 13.24 MB / 0.7381 GB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/0.3483, allocations: 75.95 kB / 0.7381 GB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/0.3484, allocations: 43.98 kB / 0.7382 GB, free: 10.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.796e-06/0.3484, allocations: 6.812 kB / 0.7382 GB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004277/0.3527, allocations: 1.722 MB / 0.7399 GB, free: 8.688 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003469/0.3562, allocations: 1.448 MB / 0.7413 GB, free: 7.227 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002389/0.3586, allocations: 0.5661 MB / 0.7418 GB, free: 6.645 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008907/0.3595, allocations: 219.6 kB / 0.742 GB, free: 6.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01409/0.3736, allocations: 10.17 MB / 0.752 GB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009054/0.3745, allocations: 55.83 kB / 0.752 GB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.9e-05/0.3747, allocations: 47.98 kB / 0.7521 GB, free: 11.5 MB / 378.7 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 (117): * Single equations (assignments): 110 * 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%) 4,(2,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 1 {2 11} Notification: Performance of prepare postOptimizeDAE: time 0.0009654/0.3756, allocations: 0.5045 MB / 0.7526 GB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002563/0.3759, allocations: 98.78 kB / 0.7527 GB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003316/0.3792, allocations: 1.422 MB / 0.754 GB, free: 9.434 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/0.3793, allocations: 8.062 kB / 0.754 GB, free: 9.426 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.288e-05/0.3793, allocations: 8 kB / 0.7541 GB, free: 9.418 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.383e-05/0.3793, allocations: 3.984 kB / 0.7541 GB, free: 9.414 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00601/0.3853, allocations: 2.893 MB / 0.7569 GB, free: 6.406 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.3854, allocations: 4 kB / 0.7569 GB, free: 6.402 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007805/0.3862, allocations: 135.8 kB / 0.757 GB, free: 6.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001493/0.3877, allocations: 395.8 kB / 0.7574 GB, free: 5.867 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.021e-05/0.3878, allocations: 31.97 kB / 0.7574 GB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01013/0.3979, allocations: 8.666 MB / 0.7659 GB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.935e-06/0.398, allocations: 8.031 kB / 0.7659 GB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004212/0.4022, allocations: 1.963 MB / 0.7678 GB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005184/0.4027, allocations: 263.7 kB / 0.7681 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001728/0.4029, allocations: 27.98 kB / 0.7681 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006333/0.4036, allocations: 39.97 kB / 0.7681 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/0.4037, allocations: 76.45 kB / 0.7682 GB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.491e-05/0.4038, allocations: 31.98 kB / 0.7682 GB, free: 10.01 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0009222/0.4047, allocations: 0.5618 MB / 0.7688 GB, free: 9.438 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.38e-07/0.4048, allocations: 0 / 0.7688 GB, free: 9.438 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00255/0.4073, allocations: 0.6407 MB / 0.7694 GB, free: 8.797 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (67): * Single equations (assignments): 61 * 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.0003576/0.4077, allocations: 163.2 kB / 0.7696 GB, free: 8.625 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006859/0.4146, allocations: 3.541 MB / 0.773 GB, free: 4.957 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.594e-06/0.4146, allocations: 0 / 0.773 GB, free: 4.957 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002174/0.4168, allocations: 1.19 MB / 0.7742 GB, free: 3.699 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/0.4181, allocations: 226.4 kB / 0.7744 GB, free: 3.48 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006027/0.4241, allocations: 3.702 MB / 0.778 GB, free: 15.72 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001392/0.4255, allocations: 1.362 MB / 0.7793 GB, free: 14.32 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001311/0.4269, allocations: 356.2 kB / 0.7797 GB, free: 13.97 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002607/0.4271, allocations: 75.42 kB / 0.7798 GB, free: 13.9 MB / 410.7 MB Notification: Performance of SimCode: time 1.738e-06/0.4271, allocations: 0 / 0.7798 GB, free: 13.9 MB / 410.7 MB Notification: Performance of Templates: time 0.2664/0.6936, allocations: 20.14 MB / 0.7994 GB, free: 106.5 MB / 410.7 MB