Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC1ph_DC.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.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001408/0.001411, allocations: 185.4 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.817/1.817, allocations: 194.5 MB / 211.6 MB, free: 7.52 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.001862/0.001862, allocations: 116.7 kB / 256.9 MB, free: 10.14 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.2769/0.2769, allocations: 38.01 MB / 340.1 MB, free: 13.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004543/0.0004545, allocations: 16.59 kB / 403.8 MB, free: 55.14 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06922/0.0697, allocations: 53.23 MB / 457 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.004296/0.07405, allocations: 4.223 MB / 461.2 MB, free: 6.094 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001687/0.07578, allocations: 1.128 MB / 462.4 MB, free: 4.961 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002323/0.07603, allocations: 23.81 kB / 462.4 MB, free: 4.938 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001597/0.07621, allocations: 59.59 kB / 462.5 MB, free: 4.879 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000528/0.07675, allocations: 211.4 kB / 462.7 MB, free: 4.672 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002844/0.07705, allocations: 111.8 kB / 462.8 MB, free: 4.562 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003057/0.07737, allocations: 255.4 kB / 463 MB, free: 4.312 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002045/0.07759, allocations: 101.8 kB / 463.1 MB, free: 4.215 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002406/0.07785, allocations: 171.3 kB / 463.3 MB, free: 4.047 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000295/0.07816, allocations: 171.5 kB / 463.5 MB, free: 3.879 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.025e-05/0.07822, allocations: 12 kB / 463.5 MB, free: 3.867 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.343e-05/0.07828, allocations: 12 kB / 463.5 MB, free: 3.855 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001225/0.07841, allocations: 119.7 kB / 463.6 MB, free: 3.738 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.226e-05/0.07851, allocations: 89.52 kB / 463.7 MB, free: 3.645 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002548/0.07877, allocations: 275.3 kB / 463.9 MB, free: 3.375 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.451e-06/0.07879, allocations: 0 / 463.9 MB, free: 3.375 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.035e-06/0.0788, allocations: 0 / 463.9 MB, free: 3.375 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.14e-06/0.07882, allocations: 0 / 463.9 MB, free: 3.375 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009128/0.07974, allocations: 0.6008 MB / 464.5 MB, free: 2.727 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.07978, allocations: 12.02 kB / 464.6 MB, free: 2.715 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.534e-05/0.07987, allocations: 39.53 kB / 464.6 MB, free: 2.676 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004913/0.08037, allocations: 354.6 kB / 464.9 MB, free: 2.289 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.594e-05/0.08042, allocations: 24.5 kB / 465 MB, free: 2.266 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.489e-05/0.08048, allocations: 24 kB / 465 MB, free: 2.242 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005386/0.08103, allocations: 352.7 kB / 465.3 MB, free: 1.867 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.08106, allocations: 8 kB / 465.3 MB, free: 1.859 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.119e-05/0.0811, allocations: 4 kB / 465.3 MB, free: 1.855 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001116/0.08122, allocations: 32.53 kB / 465.4 MB, free: 1.824 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004585/0.0817, allocations: 242 kB / 465.6 MB, free: 1.586 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001642/0.08335, allocations: 1.367 MB / 467 MB, free: 140 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004229/0.0838, allocations: 177 kB / 467.2 MB, free: 15.94 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.08383, allocations: 0 / 467.2 MB, free: 15.94 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.08388, allocations: 34.62 kB / 467.2 MB, free: 15.9 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 2.148e-06/0.08389, allocations: 0 / 467.2 MB, free: 15.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.00169/0.08559, allocations: 0.7729 MB / 468 MB, free: 15.05 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.537e-05/0.08567, allocations: 85.11 kB / 468 MB, free: 14.95 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004013/0.08609, allocations: 292.5 kB / 468.3 MB, free: 14.65 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.232e-05/0.08613, allocations: 29.7 kB / 468.4 MB, free: 14.62 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001848/0.08633, allocations: 215.5 kB / 468.6 MB, free: 14.41 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.761e-05/0.08641, allocations: 59.19 kB / 468.6 MB, free: 14.35 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.509e-05/0.08644, allocations: 4 kB / 468.6 MB, free: 14.34 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.08664, allocations: 342.8 kB / 469 MB, free: 14 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/0.08681, allocations: 71.98 kB / 469 MB, free: 13.93 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002513/0.08708, allocations: 164.8 kB / 469.2 MB, free: 13.72 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002146/0.08731, allocations: 95.95 kB / 469.3 MB, free: 13.63 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.772e-06/0.08732, allocations: 4 kB / 469.3 MB, free: 13.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000707/0.08804, allocations: 324.8 kB / 469.6 MB, free: 13.3 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.08808, allocations: 11.75 kB / 469.6 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.0881, allocations: 4.438 kB / 469.6 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000233/0.08834, allocations: 48.83 kB / 469.7 MB, free: 13.24 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/0.0886, allocations: 51.91 kB / 469.7 MB, free: 13.19 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001779/0.09039, allocations: 1.503 MB / 471.2 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002021/0.09061, allocations: 11.95 kB / 471.2 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.716e-05/0.09066, allocations: 12 kB / 471.3 MB, free: 11.53 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (28): * Single equations (assignments): 27 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002456/0.09091, allocations: 177.5 kB / 471.4 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.238e-05/0.09101, allocations: 27.7 kB / 471.5 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005647/0.09158, allocations: 244.4 kB / 471.7 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.09161, allocations: 4 kB / 471.7 MB, free: 11.06 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.34e-06/0.09163, allocations: 3.953 kB / 471.7 MB, free: 11.06 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.391e-06/0.09164, allocations: 0 / 471.7 MB, free: 11.06 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/0.09279, allocations: 0.6288 MB / 472.3 MB, free: 10.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.621e-06/0.09281, allocations: 3.953 kB / 472.3 MB, free: 10.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.09298, allocations: 27.98 kB / 472.4 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002628/0.09326, allocations: 64.75 kB / 472.4 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.932e-05/0.09331, allocations: 11.94 kB / 472.4 MB, free: 10.26 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001743/0.09506, allocations: 1.495 MB / 473.9 MB, free: 8.629 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.09509, allocations: 11.91 kB / 473.9 MB, free: 8.617 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007421/0.09584, allocations: 421.2 kB / 474.4 MB, free: 8.168 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.09596, allocations: 104.8 kB / 474.5 MB, free: 8.047 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.84e-05/0.09603, allocations: 8 kB / 474.5 MB, free: 8.039 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001889/0.09623, allocations: 8 kB / 474.5 MB, free: 8.031 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.067e-05/0.09629, allocations: 19.86 kB / 474.5 MB, free: 8.012 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/0.09632, allocations: 8 kB / 474.5 MB, free: 8.004 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002732/0.09661, allocations: 207.1 kB / 474.7 MB, free: 7.805 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.35e-07/0.09662, allocations: 0 / 474.7 MB, free: 7.805 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005119/0.09714, allocations: 72 kB / 474.8 MB, free: 7.734 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * 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 (16): * Single equations (assignments): 14 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001383/0.09729, allocations: 103.3 kB / 474.9 MB, free: 7.625 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006409/0.09794, allocations: 294.4 kB / 475.2 MB, free: 7.324 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.097e-06/0.09797, allocations: 0.875 kB / 475.2 MB, free: 7.324 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004685/0.09844, allocations: 222.1 kB / 475.4 MB, free: 7.098 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004535/0.09892, allocations: 48.58 kB / 475.4 MB, free: 7.051 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001604/0.1005, allocations: 0.8848 MB / 476.3 MB, free: 6.137 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005726/0.1011, allocations: 0.8262 MB / 477.1 MB, free: 5.281 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002133/0.1014, allocations: 42.89 kB / 477.2 MB, free: 5.238 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.392e-05/0.1014, allocations: 23.44 kB / 477.2 MB, free: 5.215 MB / 314.7 MB Notification: Performance of SimCode: time 1.442e-06/0.1015, allocations: 0 / 477.2 MB, free: 5.215 MB / 314.7 MB Notification: Performance of Templates: time 0.008427/0.1099, allocations: 2.716 MB / 479.9 MB, free: 2.508 MB / 314.7 MB