Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.Impedance") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001359/0.001358, 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.704/1.704, 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.001817/0.001817, 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.2141/0.2141, allocations: 38.01 MB / 340.1 MB, free: 13.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004153/0.0004154, allocations: 12.38 kB / 403.8 MB, free: 55.19 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06588/0.06632, allocations: 53.23 MB / 457 MB, free: 10.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.004486/0.07085, allocations: 4.441 MB / 461.5 MB, free: 5.883 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002323/0.0732, allocations: 1.603 MB / 463.1 MB, free: 4.273 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002163/0.07343, allocations: 27.88 kB / 463.1 MB, free: 4.246 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001799/0.07363, allocations: 75.48 kB / 463.2 MB, free: 4.172 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004945/0.07413, allocations: 223.2 kB / 463.4 MB, free: 3.953 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000585/0.07473, allocations: 239.5 kB / 463.6 MB, free: 3.719 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003049/0.07506, allocations: 299.8 kB / 463.9 MB, free: 3.426 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007799/0.07585, allocations: 0.5398 MB / 464.4 MB, free: 2.852 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000231/0.0761, allocations: 183.3 kB / 464.6 MB, free: 2.672 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002855/0.0764, allocations: 215.3 kB / 464.8 MB, free: 2.461 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.421e-05/0.07646, allocations: 16 kB / 464.9 MB, free: 2.445 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002148/0.07668, allocations: 91.84 kB / 464.9 MB, free: 2.355 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001713/0.07687, allocations: 195.5 kB / 465.1 MB, free: 2.164 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.757e-05/0.07698, allocations: 109.5 kB / 465.2 MB, free: 2.051 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003967/0.07739, allocations: 450.9 kB / 465.7 MB, free: 1.609 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.336e-06/0.0774, allocations: 0 / 465.7 MB, free: 1.609 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.477e-06/0.07742, allocations: 0 / 465.7 MB, free: 1.609 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.788e-06/0.07743, allocations: 0 / 465.7 MB, free: 1.609 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.0009585/0.0784, allocations: 0.684 MB / 466.4 MB, free: 0.875 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.912e-05/0.07844, allocations: 12.02 kB / 466.4 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005993/0.07905, allocations: 99.36 kB / 466.5 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005035/0.07957, allocations: 386.9 kB / 466.9 MB, free: 356 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.07961, allocations: 37 kB / 466.9 MB, free: 320 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/0.07976, allocations: 55.88 kB / 466.9 MB, free: 264 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.08081, allocations: 0.6333 MB / 467.6 MB, free: 15.56 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/0.08086, allocations: 4 kB / 467.6 MB, free: 15.55 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.387e-05/0.08093, allocations: 16 kB / 467.6 MB, free: 15.54 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001393/0.08108, allocations: 28.98 kB / 467.6 MB, free: 15.51 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.08211, allocations: 483.4 kB / 468.1 MB, free: 15.04 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0042/0.08632, allocations: 3.007 MB / 471.1 MB, free: 11.87 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003894/0.08673, allocations: 181 kB / 471.3 MB, free: 11.67 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.333e-05/0.08678, allocations: 8.047 kB / 471.3 MB, free: 11.66 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.08683, allocations: 50.78 kB / 471.3 MB, free: 11.61 MB / 314.7 MB Notification: Performance of pre-optimization done (n=20): time 4.145e-06/0.08684, allocations: 0 / 471.3 MB, free: 11.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=21): time 0.00167/0.08852, allocations: 0.8371 MB / 472.2 MB, free: 10.71 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.947e-05/0.0886, allocations: 85.06 kB / 472.3 MB, free: 10.61 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004908/0.0891, allocations: 345.5 kB / 472.6 MB, free: 10.27 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/0.08914, allocations: 33.7 kB / 472.6 MB, free: 10.23 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002311/0.08938, allocations: 295 kB / 472.9 MB, free: 9.934 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.565e-05/0.08948, allocations: 86.83 kB / 473 MB, free: 9.848 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.061e-05/0.08951, allocations: 4 kB / 473 MB, free: 9.844 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.0897, allocations: 354.9 kB / 473.4 MB, free: 9.488 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00025/0.08996, allocations: 120.8 kB / 473.5 MB, free: 9.371 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004095/0.09038, allocations: 323 kB / 473.8 MB, free: 8.965 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003544/0.09075, allocations: 188 kB / 474 MB, free: 8.781 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.777e-06/0.09077, allocations: 8 kB / 474 MB, free: 8.773 MB / 314.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001272/0.09205, allocations: 0.5591 MB / 474.5 MB, free: 8.207 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.09208, allocations: 11.75 kB / 474.5 MB, free: 8.199 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006682/0.09276, allocations: 272.6 kB / 474.8 MB, free: 7.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004123/0.09319, allocations: 85.41 kB / 474.9 MB, free: 7.844 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003754/0.09358, allocations: 95.83 kB / 475 MB, free: 7.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002017/0.09562, allocations: 1.628 MB / 476.6 MB, free: 5.988 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002819/0.09592, allocations: 23.98 kB / 476.6 MB, free: 5.965 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.8e-05/0.09597, allocations: 16 kB / 476.7 MB, free: 5.949 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (50): * Single equations (assignments): 49 * 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: 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.0002858/0.09626, allocations: 221.4 kB / 476.9 MB, free: 5.723 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.556e-05/0.09635, allocations: 39.48 kB / 476.9 MB, free: 5.684 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000627/0.09698, allocations: 288.8 kB / 477.2 MB, free: 5.398 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.266e-06/0.09701, allocations: 0 / 477.2 MB, free: 5.398 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.881e-06/0.09702, allocations: 4 kB / 477.2 MB, free: 5.395 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.883e-06/0.09704, allocations: 3.984 kB / 477.2 MB, free: 5.391 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001481/0.09853, allocations: 0.7976 MB / 478 MB, free: 4.531 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.674e-06/0.09855, allocations: 0 / 478 MB, free: 4.531 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003425/0.0989, allocations: 52.03 kB / 478 MB, free: 4.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.342e-06/0.09892, allocations: 4 kB / 478.1 MB, free: 4.477 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.781e-05/0.09896, allocations: 8 kB / 478.1 MB, free: 4.469 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.281e-06/0.09897, allocations: 0 / 478.1 MB, free: 4.469 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.621e-06/0.09899, allocations: 7.875 kB / 478.1 MB, free: 4.461 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007576/0.09975, allocations: 0.4947 MB / 478.6 MB, free: 3.922 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.438e-05/0.09986, allocations: 104.8 kB / 478.7 MB, free: 3.801 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.264e-05/0.09993, allocations: 7.984 kB / 478.7 MB, free: 3.793 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002026/0.1001, allocations: 8 kB / 478.7 MB, free: 3.785 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.347e-05/0.1002, allocations: 19.92 kB / 478.7 MB, free: 3.766 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.23e-05/0.1002, allocations: 12 kB / 478.7 MB, free: 3.754 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002806/0.1005, allocations: 231.2 kB / 478.9 MB, free: 3.527 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.97e-07/0.1005, allocations: 3.938 kB / 478.9 MB, free: 3.523 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005975/0.1011, allocations: 96 kB / 479 MB, free: 3.43 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.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 (24): * Single equations (assignments): 23 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001242/0.1013, allocations: 105.4 kB / 479.1 MB, free: 3.316 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008446/0.1021, allocations: 455.3 kB / 479.6 MB, free: 2.859 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.248e-06/0.1022, allocations: 0 / 479.6 MB, free: 2.859 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000213/0.1024, allocations: 107.8 kB / 479.7 MB, free: 2.754 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003884/0.1028, allocations: 63.91 kB / 479.8 MB, free: 2.691 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/0.1046, allocations: 1.211 MB / 481 MB, free: 1.445 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006683/0.1054, allocations: 0.8821 MB / 481.8 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004071/0.1058, allocations: 115.1 kB / 482 MB, free: 436 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.069e-05/0.1059, allocations: 31.44 kB / 482 MB, free: 408 kB / 314.7 MB Notification: Performance of SimCode: time 1.257e-06/0.1059, allocations: 0 / 482 MB, free: 408 kB / 314.7 MB Notification: Performance of Templates: time 0.00913/0.115, allocations: 3.237 MB / 485.2 MB, free: 13.17 MB / 330.7 MB