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.001391/0.001394, allocations: 186.1 kB / 16.38 MB, free: 5.621 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 1.765/1.765, allocations: 194.5 MB / 211.6 MB, free: 7.801 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001896/0.001895, allocations: 120.6 kB / 256.9 MB, free: 10.41 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.2318/0.2318, allocations: 38.02 MB / 340.1 MB, free: 13.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004368/0.0004371, allocations: 11.91 kB / 403.8 MB, free: 55.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06806/0.06852, allocations: 53.22 MB / 457 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine): time 0.01034/0.07891, allocations: 10.38 MB / 467.4 MB, free: 15.95 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008773/0.08773, allocations: 4.179 MB / 471.6 MB, free: 11.76 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001165/0.08893, allocations: 67.56 kB / 471.6 MB, free: 11.7 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009592/0.08991, allocations: 346 kB / 472 MB, free: 11.36 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002433/0.09236, allocations: 0.771 MB / 472.8 MB, free: 10.58 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001973/0.09435, allocations: 0.5629 MB / 473.3 MB, free: 10.02 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001743/0.09611, allocations: 1.045 MB / 474.4 MB, free: 8.977 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003038/0.09917, allocations: 1.5 MB / 475.9 MB, free: 7.426 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009359/0.1001, allocations: 0.5722 MB / 476.4 MB, free: 6.852 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001046/0.1012, allocations: 0.6229 MB / 477.1 MB, free: 6.227 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001609/0.1014, allocations: 64 kB / 477.1 MB, free: 6.164 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001058/0.1024, allocations: 407.3 kB / 477.5 MB, free: 5.766 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007123/0.1032, allocations: 0.5728 MB / 478.1 MB, free: 5.191 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003711/0.1036, allocations: 301 kB / 478.4 MB, free: 4.891 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002153/0.1057, allocations: 1.749 MB / 480.1 MB, free: 3.137 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.512e-06/0.1057, allocations: 0 / 480.1 MB, free: 3.137 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.318e-06/0.1058, allocations: 4 kB / 480.1 MB, free: 3.133 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.138e-05/0.1058, allocations: 4 kB / 480.1 MB, free: 3.129 MB / 314.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.003351/0.1091, allocations: 1.532 MB / 481.7 MB, free: 1.539 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.1092, allocations: 11.97 kB / 481.7 MB, free: 1.527 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002045/0.1113, allocations: 301.9 kB / 482 MB, free: 1.23 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002444/0.1137, allocations: 1.019 MB / 483 MB, free: 172 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.1138, allocations: 90.33 kB / 483.1 MB, free: 80 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004363/0.1143, allocations: 143.9 kB / 483.2 MB, free: 15.94 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003591/0.1179, allocations: 1.673 MB / 484.9 MB, free: 14.2 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.14e-05/0.118, allocations: 11.92 kB / 484.9 MB, free: 14.18 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001618/0.1181, allocations: 51.98 kB / 485 MB, free: 14.13 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003798/0.1185, allocations: 102.3 kB / 485.1 MB, free: 14.03 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003331/0.1219, allocations: 1.419 MB / 486.5 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01233/0.1342, allocations: 6.08 MB / 492.6 MB, free: 6.195 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/0.1357, allocations: 0.6527 MB / 493.2 MB, free: 5.516 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.662e-05/0.1358, allocations: 16.64 kB / 493.2 MB, free: 5.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.229e-05/0.1359, allocations: 43.22 kB / 493.3 MB, free: 5.449 MB / 330.7 MB Notification: Performance of pre-optimization done (n=73): time 4.351e-06/0.1359, allocations: 0 / 493.3 MB, free: 5.449 MB / 330.7 MB Notification: Performance of matching and sorting (n=84): time 0.01262/0.1485, allocations: 4.591 MB / 497.9 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/0.1487, allocations: 162.9 kB / 498 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001425/0.1501, allocations: 0.8256 MB / 498.8 MB, free: 15.68 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.695e-05/0.1502, allocations: 41.7 kB / 498.9 MB, free: 15.64 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006399/0.1509, allocations: 0.6273 MB / 499.5 MB, free: 15 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003396/0.1512, allocations: 303.7 kB / 499.8 MB, free: 14.7 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.794e-05/0.1513, allocations: 20 kB / 499.8 MB, free: 14.68 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002005/0.1515, allocations: 349.9 kB / 0.4885 GB, free: 14.33 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001121/0.1527, allocations: 486.3 kB / 0.4889 GB, free: 13.86 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001351/0.154, allocations: 0.7658 MB / 0.4897 GB, free: 12.97 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001359/0.1554, allocations: 0.6081 MB / 0.4903 GB, free: 12.37 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.995e-06/0.1554, allocations: 4 kB / 0.4903 GB, free: 12.36 MB / 346.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.005005/0.1605, allocations: 1.902 MB / 0.4921 GB, free: 10.43 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001704/0.1622, allocations: 3.227 MB / 0.4953 GB, free: 6.957 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004061/0.1663, allocations: 1.503 MB / 0.4967 GB, free: 5.438 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002572/0.1689, allocations: 0.5661 MB / 0.4973 GB, free: 4.855 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002009/0.1709, allocations: 487.4 kB / 0.4978 GB, free: 4.379 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02017/0.1911, allocations: 13.51 MB / 0.5109 GB, free: 5.941 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/0.1922, allocations: 76.05 kB / 0.511 GB, free: 5.867 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/0.1924, allocations: 47.98 kB / 0.5111 GB, free: 5.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.1924, allocations: 4 kB / 0.5111 GB, free: 5.816 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004456/0.1969, allocations: 1.725 MB / 0.5128 GB, free: 4.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003858/0.2007, allocations: 1.445 MB / 0.5142 GB, free: 2.613 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002598/0.2034, allocations: 0.57 MB / 0.5147 GB, free: 2.027 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/0.2044, allocations: 215.8 kB / 0.5149 GB, free: 1.816 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01588/0.2203, allocations: 10.43 MB / 0.5251 GB, free: 6.723 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009995/0.2214, allocations: 55.88 kB / 0.5252 GB, free: 6.668 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001261/0.2215, allocations: 47.98 kB / 0.5252 GB, free: 6.621 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.001022/0.2226, allocations: 0.5043 MB / 0.5257 GB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00026/0.2228, allocations: 98.78 kB / 0.5258 GB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003446/0.2263, allocations: 1.422 MB / 0.5272 GB, free: 4.559 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/0.2263, allocations: 8 kB / 0.5272 GB, free: 4.551 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/0.2263, allocations: 4 kB / 0.5272 GB, free: 4.547 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.43e-05/0.2264, allocations: 3.984 kB / 0.5272 GB, free: 4.543 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006801/0.2332, allocations: 2.897 MB / 0.53 GB, free: 1.535 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/0.2332, allocations: 4 kB / 0.53 GB, free: 1.531 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007115/0.2339, allocations: 139.8 kB / 0.5302 GB, free: 1.395 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001558/0.2355, allocations: 384.1 kB / 0.5305 GB, free: 1.004 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-05/0.2356, allocations: 31.98 kB / 0.5306 GB, free: 0.9727 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2419/0.4776, allocations: 8.77 MB / 0.5391 GB, free: 69.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.616e-06/0.4776, allocations: 4.25 kB / 0.5391 GB, free: 69.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00431/0.4819, allocations: 2.092 MB / 0.5412 GB, free: 68.72 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000529/0.4825, allocations: 262.3 kB / 0.5414 GB, free: 68.62 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001865/0.4827, allocations: 33.16 kB / 0.5415 GB, free: 68.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007594/0.4835, allocations: 46.89 kB / 0.5415 GB, free: 68.62 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000178/0.4837, allocations: 69.98 kB / 0.5416 GB, free: 68.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.752e-05/0.4838, allocations: 30.39 kB / 0.5416 GB, free: 68.62 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009147/0.4847, allocations: 0.5595 MB / 0.5421 GB, free: 68.51 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.25e-07/0.4847, allocations: 1.219 kB / 0.5421 GB, free: 68.51 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002547/0.4873, allocations: 0.6469 MB / 0.5428 GB, free: 68.51 MB / 378.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.0003178/0.4876, allocations: 153.8 kB / 0.5429 GB, free: 68.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006745/0.4943, allocations: 3.552 MB / 0.5464 GB, free: 67.22 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.053e-06/0.4944, allocations: 3.188 kB / 0.5464 GB, free: 67.22 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002079/0.4965, allocations: 1.174 MB / 0.5475 GB, free: 66.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.4976, allocations: 207.6 kB / 0.5477 GB, free: 66.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005738/0.5034, allocations: 3.704 MB / 0.5514 GB, free: 64.49 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001084/0.5045, allocations: 1.365 MB / 0.5527 GB, free: 63.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001285/0.5058, allocations: 342.5 kB / 0.553 GB, free: 63.65 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002517/0.506, allocations: 81.58 kB / 0.5531 GB, free: 63.64 MB / 378.7 MB Notification: Performance of SimCode: time 1.467e-06/0.5061, allocations: 0 / 0.5531 GB, free: 63.64 MB / 378.7 MB Notification: Performance of Templates: time 0.03801/0.5441, allocations: 20.13 MB / 0.5727 GB, free: 47.27 MB / 378.7 MB