Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.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.Drives.DCmotor_par,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002608/0.002613, allocations: 364.2 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.681/3.681, allocations: 388.9 MB / 406.8 MB, free: 11.91 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.003541/0.003541, allocations: 233.6 kB / 452.2 MB, free: 14.51 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.716/0.716, allocations: 76 MB / 0.56 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004261/0.0004263, allocations: 12 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09002/0.09046, allocations: 53.23 MB / 0.6742 GB, free: 60.82 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.444/0.5345, allocations: 96.99 MB / 0.7689 GB, free: 81.63 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.002173/0.5367, allocations: 0.8548 MB / 0.7698 GB, free: 81.62 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05955/0.5963, allocations: 16.07 MB / 0.7855 GB, free: 78.26 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5964, allocations: 3.094 kB / 0.7855 GB, free: 78.26 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.321e-05/0.5964, allocations: 11.53 kB / 0.7855 GB, free: 78.26 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001908/0.5983, allocations: 0.8579 MB / 0.7863 GB, free: 77.59 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.5984, allocations: 11.47 kB / 0.7863 GB, free: 77.59 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001452/0.5985, allocations: 66.11 kB / 0.7864 GB, free: 77.55 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001367/0.5999, allocations: 0.5804 MB / 0.787 GB, free: 77.2 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.887e-05/0.6, allocations: 28.59 kB / 0.787 GB, free: 77.2 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.6001, allocations: 50.59 kB / 0.787 GB, free: 77.2 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.6011, allocations: 0.5219 MB / 0.7875 GB, free: 76.96 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.855e-05/0.6012, allocations: 3.875 kB / 0.7875 GB, free: 76.96 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.127e-05/0.6012, allocations: 19.41 kB / 0.7876 GB, free: 76.95 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.6013, allocations: 11.69 kB / 0.7876 GB, free: 76.95 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007783/0.602, allocations: 327.5 kB / 0.7879 GB, free: 76.9 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003137/0.6052, allocations: 2.076 MB / 0.7899 GB, free: 75.42 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005522/0.6058, allocations: 237.2 kB / 0.7901 GB, free: 75.32 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001818/0.606, allocations: 77.53 kB / 0.7902 GB, free: 75.29 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.783e-05/0.606, allocations: 14.16 kB / 0.7902 GB, free: 75.29 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003268/0.6064, allocations: 164.9 kB / 0.7904 GB, free: 75.18 MB / 442.7 MB Notification: Performance of pre-optimization done (n=23): time 2.725e-06/0.6064, allocations: 0 / 0.7904 GB, free: 75.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=26): time 0.002543/0.6089, allocations: 1.162 MB / 0.7915 GB, free: 74.48 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.609, allocations: 132.4 kB / 0.7916 GB, free: 74.32 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005964/0.6096, allocations: 421.2 kB / 0.792 GB, free: 74.14 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.092e-05/0.6097, allocations: 29.2 kB / 0.7921 GB, free: 74.11 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000175/0.6098, allocations: 291.2 kB / 0.7924 GB, free: 73.93 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.774e-05/0.6099, allocations: 98.45 kB / 0.7924 GB, free: 73.86 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.433e-05/0.61, allocations: 3.625 kB / 0.7924 GB, free: 73.86 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.103e-05/0.6101, allocations: 361.7 kB / 0.7928 GB, free: 73.53 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000236/0.6103, allocations: 88.55 kB / 0.7929 GB, free: 73.52 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002994/0.6106, allocations: 227.5 kB / 0.7931 GB, free: 73.34 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003112/0.611, allocations: 144.5 kB / 0.7932 GB, free: 73.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.611, allocations: 3.781 kB / 0.7932 GB, free: 73.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001259/0.6122, allocations: 483.5 kB / 0.7937 GB, free: 73.12 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.273e-05/0.6123, allocations: 33.95 kB / 0.7937 GB, free: 73.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.6123, allocations: 7.844 kB / 0.7937 GB, free: 73.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006146/0.6129, allocations: 91.89 kB / 0.7938 GB, free: 73.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004466/0.6134, allocations: 73.19 kB / 0.7939 GB, free: 73.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002298/0.6157, allocations: 1.693 MB / 0.7955 GB, free: 71.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004737/0.6162, allocations: 15.12 kB / 0.7956 GB, free: 71.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.184e-05/0.6163, allocations: 22.73 kB / 0.7956 GB, free: 71.67 MB / 442.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: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 1 * 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: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003611/0.6166, allocations: 209.8 kB / 0.7958 GB, free: 71.54 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.177e-05/0.6167, allocations: 42.84 kB / 0.7958 GB, free: 71.52 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007912/0.6175, allocations: 293.3 kB / 0.7961 GB, free: 71.41 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.6175, allocations: 6.031 kB / 0.7961 GB, free: 71.41 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.6176, allocations: 6.922 kB / 0.7961 GB, free: 71.41 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.6176, allocations: 3.938 kB / 0.7961 GB, free: 71.41 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001516/0.6191, allocations: 0.7871 MB / 0.7969 GB, free: 70.97 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.6191, allocations: 0 / 0.7969 GB, free: 70.97 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000511/0.6196, allocations: 54.33 kB / 0.7969 GB, free: 70.96 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003154/0.62, allocations: 51.86 kB / 0.797 GB, free: 70.93 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.973e-05/0.62, allocations: 5.562 kB / 0.797 GB, free: 70.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001341/0.6214, allocations: 1.433 MB / 0.7984 GB, free: 69.62 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.6214, allocations: 2.969 kB / 0.7984 GB, free: 69.62 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.6224, allocations: 492.1 kB / 0.7989 GB, free: 69.38 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001761/0.6226, allocations: 133 kB / 0.799 GB, free: 69.26 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.029e-05/0.6227, allocations: 6.312 kB / 0.799 GB, free: 69.26 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003599/0.6231, allocations: 16.27 kB / 0.799 GB, free: 69.25 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.414e-05/0.6232, allocations: 26.64 kB / 0.799 GB, free: 69.24 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.693e-05/0.6232, allocations: 9.953 kB / 0.7991 GB, free: 69.24 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004373/0.6236, allocations: 287.8 kB / 0.7993 GB, free: 69.11 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6237, allocations: 4 kB / 0.7993 GB, free: 69.11 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000709/0.6244, allocations: 130.9 kB / 0.7995 GB, free: 69.1 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (dcm_par.motor.phi_el,dcm_par.motor.w_el,dcm_par.motor.i,dcm_par.motor.i_f,tabLoad.s) * Number of discrete variables: 2 ($whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009739/0.6254, allocations: 357.2 kB / 0.7998 GB, free: 68.95 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001083/0.6265, allocations: 451.1 kB / 0.8002 GB, free: 68.71 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.6265, allocations: 0 / 0.8002 GB, free: 68.71 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005318/0.627, allocations: 241.5 kB / 0.8005 GB, free: 68.57 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.6281, allocations: 122.6 kB / 0.8006 GB, free: 68.54 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002525/0.6306, allocations: 1.489 MB / 0.802 GB, free: 67.54 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003831/0.631, allocations: 0.8836 MB / 0.8029 GB, free: 66.75 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004283/0.6315, allocations: 63.77 kB / 0.8029 GB, free: 66.72 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.6316, allocations: 38.23 kB / 0.803 GB, free: 66.71 MB / 442.7 MB Notification: Performance of SimCode: time 1.092e-06/0.6316, allocations: 3.938 kB / 0.803 GB, free: 66.71 MB / 442.7 MB Notification: Performance of Templates: time 0.01695/0.6486, allocations: 6.143 MB / 0.809 GB, free: 63.71 MB / 442.7 MB