Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.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.DCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002382/0.002381, allocations: 355.2 kB / 16.57 MB, free: 5.59 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.514/3.514, allocations: 388.9 MB / 406.2 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.003163/0.003163, allocations: 233.6 kB / 451.6 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.6134/0.6134, allocations: 76.01 MB / 0.5594 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004826/0.0004828, allocations: 12 kB / 0.6216 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06524/0.06574, allocations: 53.22 MB / 0.6736 GB, free: 60.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.004633/0.07043, allocations: 4.783 MB / 0.6783 GB, free: 56.02 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002112/0.07257, allocations: 1.622 MB / 0.6799 GB, free: 54.39 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000253/0.07284, allocations: 27.81 kB / 0.6799 GB, free: 54.36 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002584/0.07311, allocations: 95.34 kB / 0.68 GB, free: 54.27 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005798/0.07371, allocations: 278.2 kB / 0.6802 GB, free: 53.99 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003214/0.07405, allocations: 135.8 kB / 0.6804 GB, free: 53.86 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005911/0.07465, allocations: 0.6108 MB / 0.681 GB, free: 53.25 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000361/0.07503, allocations: 280.4 kB / 0.6812 GB, free: 52.96 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002515/0.0753, allocations: 187.2 kB / 0.6814 GB, free: 52.78 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003063/0.07562, allocations: 215.1 kB / 0.6816 GB, free: 52.57 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.406e-05/0.07568, allocations: 20 kB / 0.6816 GB, free: 52.55 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.284e-05/0.07575, allocations: 20 kB / 0.6817 GB, free: 52.53 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.965e-05/0.07585, allocations: 103.7 kB / 0.6818 GB, free: 52.43 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 8.783e-05/0.07595, allocations: 109.5 kB / 0.6819 GB, free: 52.32 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003364/0.0763, allocations: 391 kB / 0.6822 GB, free: 51.93 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.75e-06/0.07632, allocations: 0 / 0.6822 GB, free: 51.93 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.668e-06/0.07634, allocations: 0 / 0.6822 GB, free: 51.93 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.327e-06/0.07635, allocations: 0 / 0.6822 GB, free: 51.93 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0009583/0.07732, allocations: 0.6388 MB / 0.6829 GB, free: 51.24 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.07736, allocations: 12.77 kB / 0.6829 GB, free: 51.23 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.396e-05/0.07746, allocations: 47.44 kB / 0.6829 GB, free: 51.18 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004951/0.07796, allocations: 391.1 kB / 0.6833 GB, free: 50.76 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.383e-05/0.07806, allocations: 58.69 kB / 0.6833 GB, free: 50.7 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.125e-05/0.07814, allocations: 39.91 kB / 0.6834 GB, free: 50.66 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006732/0.07882, allocations: 432.1 kB / 0.6838 GB, free: 50.2 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.381e-05/0.07886, allocations: 7.969 kB / 0.6838 GB, free: 50.2 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.547e-05/0.07893, allocations: 12 kB / 0.6838 GB, free: 50.18 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.803e-06/0.07895, allocations: 12 kB / 0.6838 GB, free: 50.17 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006187/0.07957, allocations: 277.9 kB / 0.6841 GB, free: 49.9 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002022/0.08161, allocations: 1.834 MB / 0.6859 GB, free: 47.95 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003933/0.08202, allocations: 191.5 kB / 0.6861 GB, free: 47.73 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/0.0822, allocations: 74.67 kB / 0.6861 GB, free: 47.65 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.08223, allocations: 12.22 kB / 0.6861 GB, free: 47.64 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.568e-05/0.08226, allocations: 30.56 kB / 0.6862 GB, free: 47.6 MB / 442.7 MB Notification: Performance of pre-optimization done (n=18): time 2.164e-06/0.08227, allocations: 0 / 0.6862 GB, free: 47.6 MB / 442.7 MB Notification: Performance of matching and sorting (n=20): time 0.001632/0.08391, allocations: 0.9306 MB / 0.6871 GB, free: 46.59 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.08396, allocations: 106.8 kB / 0.6872 GB, free: 46.46 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003132/0.08428, allocations: 308.5 kB / 0.6875 GB, free: 46.15 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.08432, allocations: 33.64 kB / 0.6875 GB, free: 46.11 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.08445, allocations: 239.6 kB / 0.6877 GB, free: 45.87 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.492e-05/0.08453, allocations: 82.98 kB / 0.6878 GB, free: 45.79 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.694e-05/0.08456, allocations: 8 kB / 0.6878 GB, free: 45.78 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.587e-05/0.08466, allocations: 342.8 kB / 0.6881 GB, free: 45.44 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/0.08485, allocations: 67.95 kB / 0.6882 GB, free: 45.37 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002303/0.0851, allocations: 216 kB / 0.6884 GB, free: 45.1 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002281/0.08534, allocations: 108.8 kB / 0.6885 GB, free: 45 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.812e-06/0.08536, allocations: 0 / 0.6885 GB, free: 45 MB / 442.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006/0.08597, allocations: 341.8 kB / 0.6888 GB, free: 44.66 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.086, allocations: 8 kB / 0.6889 GB, free: 44.65 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.329e-06/0.08601, allocations: 4 kB / 0.6889 GB, free: 44.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.08604, allocations: 8 kB / 0.6889 GB, free: 44.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003262/0.08637, allocations: 75.89 kB / 0.6889 GB, free: 44.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.0864, allocations: 11.94 kB / 0.689 GB, free: 44.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002142/0.08662, allocations: 12 kB / 0.689 GB, free: 44.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.535e-05/0.08666, allocations: 20.16 kB / 0.689 GB, free: 44.52 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: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 41 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001842/0.08686, allocations: 181.7 kB / 0.6892 GB, free: 44.33 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.065e-05/0.08696, allocations: 27.62 kB / 0.6892 GB, free: 44.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004703/0.08744, allocations: 204.7 kB / 0.6894 GB, free: 44.1 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.08746, allocations: 7.938 kB / 0.6894 GB, free: 44.09 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.387e-06/0.08747, allocations: 3.984 kB / 0.6894 GB, free: 44.09 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.966e-06/0.08749, allocations: 4 kB / 0.6894 GB, free: 44.08 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009766/0.08847, allocations: 0.6318 MB / 0.69 GB, free: 43.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.0885, allocations: 0 / 0.69 GB, free: 43.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002981/0.0888, allocations: 43.97 kB / 0.6901 GB, free: 43.35 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.08882, allocations: 4 kB / 0.6901 GB, free: 43.34 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/0.08885, allocations: 12.03 kB / 0.6901 GB, free: 43.33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.08887, allocations: 3.938 kB / 0.6901 GB, free: 43.33 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.987e-06/0.08887, allocations: 0 / 0.6901 GB, free: 43.33 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005963/0.08948, allocations: 467.9 kB / 0.6905 GB, free: 42.85 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.79e-05/0.08955, allocations: 104.8 kB / 0.6906 GB, free: 42.73 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.795e-05/0.08961, allocations: 8 kB / 0.6906 GB, free: 42.72 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.08985, allocations: 8 kB / 0.6906 GB, free: 42.71 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.114e-05/0.08991, allocations: 15.92 kB / 0.6906 GB, free: 42.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.08994, allocations: 7.984 kB / 0.6907 GB, free: 42.69 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001956/0.09014, allocations: 219 kB / 0.6909 GB, free: 42.47 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.95e-07/0.09016, allocations: 4 kB / 0.6909 GB, free: 42.47 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004533/0.09062, allocations: 72 kB / 0.6909 GB, free: 42.4 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (efficiency.pav,efficiency.qav,machine.motor.phi_el,machine.motor.w_el) * 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 (21): * Single equations (assignments): 20 * 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 8.636e-05/0.09071, allocations: 103.2 kB / 0.691 GB, free: 42.29 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004372/0.09116, allocations: 208.8 kB / 0.6912 GB, free: 42.08 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.383e-06/0.09118, allocations: 0 / 0.6912 GB, free: 42.08 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001904/0.09138, allocations: 79.91 kB / 0.6913 GB, free: 42 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007675/0.09216, allocations: 94.41 kB / 0.6914 GB, free: 41.91 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.09377, allocations: 1.117 MB / 0.6925 GB, free: 40.76 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.09409, allocations: 0.8265 MB / 0.6933 GB, free: 39.91 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002616/0.09436, allocations: 55.25 kB / 0.6933 GB, free: 39.85 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.731e-05/0.09445, allocations: 27.44 kB / 0.6934 GB, free: 39.83 MB / 442.7 MB Notification: Performance of SimCode: time 1.2e-06/0.09446, allocations: 0 / 0.6934 GB, free: 39.83 MB / 442.7 MB Notification: Performance of Templates: time 0.008239/0.1027, allocations: 3.124 MB / 0.6964 GB, free: 36.72 MB / 442.7 MB