Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.Introductory.InitialSteadyState.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.Introductory.InitialSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.Introductory.InitialSteadyState") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001386/0.001386, allocations: 184.8 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.836/1.836, allocations: 194.5 MB / 211.6 MB, free: 7.609 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.00184/0.00184, allocations: 116.6 kB / 256.9 MB, free: 10.23 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.2905/0.2905, allocations: 38.01 MB / 340.1 MB, free: 13.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004665/0.0004668, allocations: 11.66 kB / 403.8 MB, free: 55.19 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08035/0.08085, allocations: 53.24 MB / 457 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.004823/0.08571, allocations: 4.301 MB / 461.3 MB, free: 6.016 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002812/0.08857, allocations: 1.56 MB / 462.9 MB, free: 4.449 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003343/0.08894, allocations: 27.88 kB / 462.9 MB, free: 4.422 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000203/0.08916, allocations: 71.5 kB / 463 MB, free: 4.352 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006149/0.08979, allocations: 215.3 kB / 463.2 MB, free: 4.141 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000712/0.09052, allocations: 235.4 kB / 463.4 MB, free: 3.91 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003457/0.09088, allocations: 291.8 kB / 463.7 MB, free: 3.625 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008843/0.09178, allocations: 0.5153 MB / 464.2 MB, free: 3.082 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002788/0.09208, allocations: 179.3 kB / 464.4 MB, free: 2.906 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003613/0.09246, allocations: 259.2 kB / 464.6 MB, free: 2.652 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.985e-05/0.09254, allocations: 20 kB / 464.7 MB, free: 2.633 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003646/0.09291, allocations: 159.7 kB / 464.8 MB, free: 2.477 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001843/0.09311, allocations: 199.6 kB / 465 MB, free: 2.281 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.09324, allocations: 105.5 kB / 465.1 MB, free: 2.172 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005059/0.09375, allocations: 494.8 kB / 465.6 MB, free: 1.688 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.327e-06/0.09377, allocations: 0 / 465.6 MB, free: 1.688 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.468e-06/0.09378, allocations: 0 / 465.6 MB, free: 1.688 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.233e-06/0.0938, allocations: 4 kB / 465.6 MB, free: 1.684 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001207/0.09502, allocations: 0.6997 MB / 466.3 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.09507, allocations: 12.02 kB / 466.3 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007438/0.09582, allocations: 99.27 kB / 466.4 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006309/0.09647, allocations: 394.1 kB / 466.8 MB, free: 412 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.29e-05/0.09653, allocations: 36.98 kB / 466.8 MB, free: 376 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001613/0.0967, allocations: 43.95 kB / 466.9 MB, free: 332 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.09796, allocations: 0.6725 MB / 467.6 MB, free: 15.61 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.536e-05/0.09801, allocations: 8 kB / 467.6 MB, free: 15.61 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.675e-05/0.09808, allocations: 16 kB / 467.6 MB, free: 15.59 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002104/0.0983, allocations: 44.97 kB / 467.6 MB, free: 15.54 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001458/0.09978, allocations: 0.6674 MB / 468.3 MB, free: 14.88 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004762/0.1046, allocations: 2.425 MB / 470.7 MB, free: 12.33 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007904/0.1054, allocations: 363.6 kB / 471.1 MB, free: 11.96 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.593e-05/0.1055, allocations: 8.328 kB / 471.1 MB, free: 11.96 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.1055, allocations: 34.84 kB / 471.1 MB, free: 11.91 MB / 314.7 MB Notification: Performance of pre-optimization done (n=45): time 3.977e-06/0.1055, allocations: 0 / 471.1 MB, free: 11.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=46): time 0.00334/0.1089, allocations: 1.626 MB / 472.7 MB, free: 10.2 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.608e-05/0.109, allocations: 84.97 kB / 472.8 MB, free: 10.1 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004234/0.1094, allocations: 290.8 kB / 473.1 MB, free: 9.801 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.286e-05/0.1095, allocations: 29.7 kB / 473.1 MB, free: 9.766 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002134/0.1097, allocations: 239.8 kB / 473.4 MB, free: 9.527 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001744/0.1099, allocations: 153.9 kB / 473.5 MB, free: 9.375 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.421e-05/0.1099, allocations: 12 kB / 473.5 MB, free: 9.363 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002054/0.1101, allocations: 350.8 kB / 473.9 MB, free: 9.012 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004658/0.1106, allocations: 213 kB / 474.1 MB, free: 8.805 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000609/0.1112, allocations: 357.7 kB / 474.4 MB, free: 8.395 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000594/0.1118, allocations: 276.2 kB / 474.7 MB, free: 8.125 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.296e-06/0.1119, allocations: 3.938 kB / 474.7 MB, free: 8.121 MB / 314.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001801/0.1137, allocations: 0.7081 MB / 475.4 MB, free: 7.402 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.1137, allocations: 8 kB / 475.4 MB, free: 7.395 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001238/0.115, allocations: 0.5191 MB / 475.9 MB, free: 6.875 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004189/0.1154, allocations: 72.78 kB / 476 MB, free: 6.801 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005357/0.116, allocations: 111.8 kB / 476.1 MB, free: 6.691 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002261/0.1182, allocations: 1.612 MB / 477.7 MB, free: 4.949 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000412/0.1187, allocations: 35.97 kB / 477.8 MB, free: 4.914 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.64e-05/0.1188, allocations: 23.98 kB / 477.8 MB, free: 4.891 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (54): * Single equations (assignments): 51 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000412/0.1192, allocations: 221.3 kB / 478 MB, free: 4.664 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001513/0.1193, allocations: 43.59 kB / 478 MB, free: 4.621 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001259/0.1206, allocations: 0.5512 MB / 478.6 MB, free: 4.055 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.552e-05/0.1207, allocations: 11.98 kB / 478.6 MB, free: 4.043 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.164e-06/0.1207, allocations: 4 kB / 478.6 MB, free: 4.039 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.289e-06/0.1207, allocations: 288 / 478.6 MB, free: 4.039 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002698/0.1234, allocations: 1.196 MB / 479.8 MB, free: 2.777 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/0.1234, allocations: 0 / 479.8 MB, free: 2.777 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005467/0.124, allocations: 83.88 kB / 479.9 MB, free: 2.695 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.093e-05/0.124, allocations: 4 kB / 479.9 MB, free: 2.691 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.907e-05/0.1241, allocations: 11.98 kB / 479.9 MB, free: 2.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.844e-06/0.1241, allocations: 0 / 479.9 MB, free: 2.68 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.811e-06/0.1241, allocations: 4 kB / 479.9 MB, free: 2.676 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001838/0.126, allocations: 0.9637 MB / 480.9 MB, free: 1.664 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001358/0.1261, allocations: 116.6 kB / 481 MB, free: 1.531 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.134e-05/0.1262, allocations: 8 kB / 481 MB, free: 1.523 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003071/0.1265, allocations: 20.02 kB / 481 MB, free: 1.504 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.45e-05/0.1266, allocations: 23.97 kB / 481 MB, free: 1.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.403e-05/0.1267, allocations: 12 kB / 481 MB, free: 1.469 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002873/0.127, allocations: 193.9 kB / 481.2 MB, free: 1.277 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.8e-07/0.127, allocations: 7.938 kB / 481.2 MB, free: 1.27 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000747/0.1278, allocations: 116 kB / 481.4 MB, free: 1.156 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.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 (39): * Single equations (assignments): 36 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002468/0.128, allocations: 135.1 kB / 481.5 MB, free: 1.016 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001421/0.1294, allocations: 0.6493 MB / 482.1 MB, free: 360 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.553e-06/0.1295, allocations: 0 / 482.1 MB, free: 360 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005127/0.13, allocations: 259.8 kB / 482.4 MB, free: 100 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004894/0.1305, allocations: 74.91 kB / 482.5 MB, free: 28 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002668/0.1332, allocations: 1.389 MB / 483.9 MB, free: 14.6 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007129/0.1339, allocations: 0.8905 MB / 484.7 MB, free: 13.68 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005095/0.1344, allocations: 127.2 kB / 484.9 MB, free: 13.55 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001537/0.1346, allocations: 39.42 kB / 484.9 MB, free: 13.52 MB / 330.7 MB Notification: Performance of SimCode: time 1.626e-06/0.1346, allocations: 0 / 484.9 MB, free: 13.52 MB / 330.7 MB Notification: Performance of Templates: time 0.01232/0.1469, allocations: 4.119 MB / 489 MB, free: 9.41 MB / 330.7 MB