Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.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.Transmission.VoltageStability,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Transmission.VoltageStability") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002555/0.002555, allocations: 361.6 kB / 17.21 MB, free: 4.953 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.75/3.75, allocations: 388.9 MB / 406.8 MB, free: 11.99 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003519/0.003519, allocations: 225.7 kB / 452.2 MB, free: 14.59 MB / 378.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.7384/0.7384, allocations: 76.01 MB / 0.56 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004659/0.0004661, allocations: 12 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09275/0.09324, allocations: 53.23 MB / 0.6742 GB, free: 60.84 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4799/0.5732, allocations: 97.34 MB / 0.7693 GB, free: 81.3 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/0.5735, allocations: 99.12 kB / 0.7694 GB, free: 81.3 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1326/0.7062, allocations: 32.44 MB / 0.801 GB, free: 71.39 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.7063, allocations: 0 / 0.801 GB, free: 71.39 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.718e-05/0.7063, allocations: 38.06 kB / 0.8011 GB, free: 71.38 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.004944/0.7113, allocations: 1.44 MB / 0.8025 GB, free: 70.42 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.7114, allocations: 8.562 kB / 0.8025 GB, free: 70.42 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002992/0.7144, allocations: 277.7 kB / 0.8028 GB, free: 70.29 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004277/0.7187, allocations: 1.303 MB / 0.804 GB, free: 69.66 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.904e-05/0.7188, allocations: 94.86 kB / 0.8041 GB, free: 69.65 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003838/0.7192, allocations: 118.4 kB / 0.8042 GB, free: 69.65 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004214/0.7234, allocations: 1.788 MB / 0.806 GB, free: 68.82 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.258e-05/0.7236, allocations: 9.75 kB / 0.806 GB, free: 68.82 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001702/0.7238, allocations: 55.47 kB / 0.806 GB, free: 68.82 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001528/0.7239, allocations: 84.64 kB / 0.8061 GB, free: 68.8 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003875/0.7278, allocations: 1.384 MB / 0.8075 GB, free: 68.52 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01438/0.7422, allocations: 7.97 MB / 0.8153 GB, free: 62.83 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001834/0.7441, allocations: 0.9537 MB / 0.8162 GB, free: 62.03 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001276/0.7454, allocations: 0.5677 MB / 0.8167 GB, free: 61.65 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001073/0.7456, allocations: 20.73 kB / 0.8168 GB, free: 61.63 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.09e-05/0.7456, allocations: 44.91 kB / 0.8168 GB, free: 61.59 MB / 442.7 MB Notification: Performance of pre-optimization done (n=98): time 4.949e-06/0.7456, allocations: 0 / 0.8168 GB, free: 61.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=99): time 0.006911/0.7526, allocations: 2.907 MB / 0.8197 GB, free: 59.36 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.7527, allocations: 94.05 kB / 0.8197 GB, free: 59.25 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/0.7539, allocations: 0.7628 MB / 0.8205 GB, free: 58.64 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001593/0.754, allocations: 41.27 kB / 0.8205 GB, free: 58.6 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004009/0.7545, allocations: 0.6388 MB / 0.8211 GB, free: 58.11 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003481/0.7548, allocations: 356.8 kB / 0.8215 GB, free: 57.81 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.922e-05/0.7549, allocations: 25 kB / 0.8215 GB, free: 57.81 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.7551, allocations: 418.1 kB / 0.8219 GB, free: 57.43 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001155/0.7563, allocations: 0.5004 MB / 0.8224 GB, free: 57.08 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00139/0.7577, allocations: 0.9958 MB / 0.8234 GB, free: 56.05 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001535/0.7592, allocations: 0.6927 MB / 0.824 GB, free: 55.58 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.848e-06/0.7592, allocations: 4 kB / 0.8241 GB, free: 55.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.004708/0.764, allocations: 1.844 MB / 0.8259 GB, free: 54 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/0.764, allocations: 8 kB / 0.8259 GB, free: 53.99 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003033/0.7671, allocations: 1.171 MB / 0.827 GB, free: 52.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001378/0.7685, allocations: 246.5 kB / 0.8272 GB, free: 52.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002081/0.7706, allocations: 303.5 kB / 0.8275 GB, free: 52.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005226/0.7758, allocations: 4.783 MB / 0.8322 GB, free: 47.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/0.7775, allocations: 67.95 kB / 0.8323 GB, free: 47.03 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001439/0.7776, allocations: 67.27 kB / 0.8323 GB, free: 46.96 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (160): * Single equations (assignments): 153 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009279/0.7786, allocations: 433.7 kB / 0.8327 GB, free: 46.54 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001915/0.7788, allocations: 98.69 kB / 0.8328 GB, free: 46.44 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002761/0.7815, allocations: 1.16 MB / 0.834 GB, free: 45.27 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.235e-05/0.7816, allocations: 27.98 kB / 0.834 GB, free: 45.24 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.7816, allocations: 0 / 0.834 GB, free: 45.24 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/0.7816, allocations: 7.922 kB / 0.834 GB, free: 45.23 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006094/0.7878, allocations: 2.418 MB / 0.8364 GB, free: 42.76 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.7878, allocations: 0 / 0.8364 GB, free: 42.76 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001869/0.7897, allocations: 207.7 kB / 0.8366 GB, free: 42.56 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-05/0.7897, allocations: 4 kB / 0.8366 GB, free: 42.55 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001033/0.7898, allocations: 23.98 kB / 0.8366 GB, free: 42.53 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.017e-05/0.7898, allocations: 10.31 kB / 0.8366 GB, free: 42.52 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.7899, allocations: 7.953 kB / 0.8366 GB, free: 42.52 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003463/0.7933, allocations: 1.727 MB / 0.8383 GB, free: 40.75 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003739/0.7938, allocations: 163.9 kB / 0.8385 GB, free: 40.57 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000215/0.794, allocations: 16 kB / 0.8385 GB, free: 40.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008946/0.7949, allocations: 47.94 kB / 0.8385 GB, free: 40.51 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/0.7951, allocations: 64.84 kB / 0.8386 GB, free: 40.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.405e-05/0.7952, allocations: 27.81 kB / 0.8386 GB, free: 40.42 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008955/0.7961, allocations: 0.5107 MB / 0.8391 GB, free: 39.91 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.7961, allocations: 0 / 0.8391 GB, free: 39.91 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001723/0.7978, allocations: 347.9 kB / 0.8394 GB, free: 39.57 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (line0.i[1],line0.i[2],line0.i[3],line1.i[1],line1.i[2],line1.i[3],line2.i[1],line2.i[2],line2.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 (90): * Single equations (assignments): 85 * Array equations: 4 * 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.0004277/0.7983, allocations: 201.4 kB / 0.8396 GB, free: 39.38 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003423/0.8017, allocations: 1.614 MB / 0.8412 GB, free: 37.73 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.8018, allocations: 4.25 kB / 0.8412 GB, free: 37.73 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001075/0.8028, allocations: 0.5053 MB / 0.8417 GB, free: 37.23 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001479/0.8043, allocations: 166.4 kB / 0.8419 GB, free: 37.07 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006391/0.8107, allocations: 3.442 MB / 0.8452 GB, free: 33.59 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009589/0.8118, allocations: 1.279 MB / 0.8465 GB, free: 32.28 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001876/0.8137, allocations: 414.8 kB / 0.8469 GB, free: 31.88 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004195/0.8141, allocations: 83.42 kB / 0.8469 GB, free: 31.79 MB / 442.7 MB Notification: Performance of SimCode: time 1.302e-06/0.8141, allocations: 0 / 0.8469 GB, free: 31.79 MB / 442.7 MB Notification: Performance of Templates: time 0.03073/0.8448, allocations: 11.29 MB / 0.858 GB, free: 20.64 MB / 442.7 MB