Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.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.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002444/0.002444, allocations: 356.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.466/3.466, 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.003503/0.003503, allocations: 241.6 kB / 451.6 MB, free: 14.5 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.6592/0.6592, allocations: 76 MB / 0.5594 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004809/0.0004811, allocations: 12 kB / 0.6216 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06832/0.06882, allocations: 53.24 MB / 0.6736 GB, free: 60.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Machines): time 0.004664/0.07353, allocations: 4.549 MB / 0.6781 GB, free: 56.25 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002114/0.07567, allocations: 1.599 MB / 0.6796 GB, free: 54.64 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002465/0.07593, allocations: 27.81 kB / 0.6796 GB, free: 54.61 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002898/0.07624, allocations: 103.3 kB / 0.6797 GB, free: 54.51 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006311/0.07688, allocations: 294.2 kB / 0.68 GB, free: 54.22 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002987/0.0772, allocations: 119.8 kB / 0.6801 GB, free: 54.11 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005931/0.07781, allocations: 0.5446 MB / 0.6807 GB, free: 53.56 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001907/0.07802, allocations: 113.8 kB / 0.6808 GB, free: 53.45 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002044/0.07824, allocations: 163.2 kB / 0.6809 GB, free: 53.29 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002789/0.07853, allocations: 199.2 kB / 0.6811 GB, free: 53.09 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.175e-05/0.07859, allocations: 19.94 kB / 0.6811 GB, free: 53.07 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.88e-05/0.07866, allocations: 16 kB / 0.6812 GB, free: 53.05 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.333e-05/0.07877, allocations: 91.7 kB / 0.6812 GB, free: 52.96 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 7.86e-05/0.07886, allocations: 89.52 kB / 0.6813 GB, free: 52.87 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002511/0.07912, allocations: 279.2 kB / 0.6816 GB, free: 52.6 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.943e-06/0.07914, allocations: 0 / 0.6816 GB, free: 52.6 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.651e-06/0.07915, allocations: 0 / 0.6816 GB, free: 52.6 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.07917, allocations: 0 / 0.6816 GB, free: 52.6 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008553/0.08004, allocations: 0.6086 MB / 0.6822 GB, free: 51.94 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.08008, allocations: 8.828 kB / 0.6822 GB, free: 51.93 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.793e-05/0.08017, allocations: 39.53 kB / 0.6822 GB, free: 51.89 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005687/0.08075, allocations: 370.6 kB / 0.6826 GB, free: 51.49 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/0.08079, allocations: 20.56 kB / 0.6826 GB, free: 51.47 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.591e-05/0.08086, allocations: 35.92 kB / 0.6826 GB, free: 51.43 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000497/0.08137, allocations: 330.2 kB / 0.683 GB, free: 51.08 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/0.0814, allocations: 7.953 kB / 0.683 GB, free: 51.07 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.028e-05/0.08144, allocations: 8 kB / 0.683 GB, free: 51.06 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.08146, allocations: 8 kB / 0.683 GB, free: 51.05 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003872/0.08186, allocations: 205.4 kB / 0.6832 GB, free: 50.85 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00149/0.08336, allocations: 1.49 MB / 0.6846 GB, free: 49.27 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004037/0.08379, allocations: 198.2 kB / 0.6848 GB, free: 49.04 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.08393, allocations: 79.48 kB / 0.6849 GB, free: 48.95 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.08397, allocations: 8 kB / 0.6849 GB, free: 48.94 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.084, allocations: 38.56 kB / 0.6849 GB, free: 48.89 MB / 442.7 MB Notification: Performance of pre-optimization done (n=17): time 2.314e-06/0.08401, allocations: 3.938 kB / 0.6849 GB, free: 48.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=19): time 0.001375/0.0854, allocations: 0.8703 MB / 0.6858 GB, free: 47.93 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.08546, allocations: 132.5 kB / 0.6859 GB, free: 47.77 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003081/0.08578, allocations: 309.7 kB / 0.6862 GB, free: 47.46 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.08581, allocations: 33.7 kB / 0.6862 GB, free: 47.42 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.08593, allocations: 215.8 kB / 0.6864 GB, free: 47.2 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.155e-05/0.086, allocations: 66.95 kB / 0.6865 GB, free: 47.14 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.309e-05/0.08602, allocations: 4 kB / 0.6865 GB, free: 47.13 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.327e-05/0.0861, allocations: 354.9 kB / 0.6869 GB, free: 46.78 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.08623, allocations: 51.97 kB / 0.6869 GB, free: 46.73 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.0864, allocations: 152.8 kB / 0.6871 GB, free: 46.53 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/0.08657, allocations: 75.94 kB / 0.6871 GB, free: 46.46 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.696e-06/0.08659, allocations: 0 / 0.6871 GB, free: 46.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004501/0.08705, allocations: 264.7 kB / 0.6874 GB, free: 46.19 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.08708, allocations: 8 kB / 0.6874 GB, free: 46.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.656e-06/0.0871, allocations: 4.438 kB / 0.6874 GB, free: 46.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.08712, allocations: 8 kB / 0.6874 GB, free: 46.17 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004153/0.08754, allocations: 79.89 kB / 0.6875 GB, free: 46.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000662/0.08822, allocations: 1.286 MB / 0.6887 GB, free: 44.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.08843, allocations: 11.98 kB / 0.6887 GB, free: 44.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.358e-05/0.08847, allocations: 12 kB / 0.6888 GB, free: 44.65 MB / 442.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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001617/0.08864, allocations: 165.7 kB / 0.6889 GB, free: 44.48 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.08877, allocations: 39.52 kB / 0.6889 GB, free: 44.44 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003531/0.08913, allocations: 192.5 kB / 0.6891 GB, free: 44.25 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.276e-06/0.08915, allocations: 0 / 0.6891 GB, free: 44.25 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.945e-06/0.08917, allocations: 7.938 kB / 0.6891 GB, free: 44.24 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.349e-06/0.08918, allocations: 0 / 0.6891 GB, free: 44.24 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008378/0.09003, allocations: 0.549 MB / 0.6897 GB, free: 43.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.733e-06/0.09005, allocations: 0 / 0.6897 GB, free: 43.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003485/0.09041, allocations: 51.92 kB / 0.6897 GB, free: 43.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.443e-06/0.09043, allocations: 8.031 kB / 0.6897 GB, free: 43.58 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/0.09046, allocations: 7.984 kB / 0.6897 GB, free: 43.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.509e-06/0.09048, allocations: 0 / 0.6897 GB, free: 43.57 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.09049, allocations: 4 kB / 0.6897 GB, free: 43.57 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004954/0.09099, allocations: 0.5043 MB / 0.6902 GB, free: 43.04 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.266e-05/0.09107, allocations: 100.7 kB / 0.6903 GB, free: 42.93 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.154e-05/0.09114, allocations: 4 kB / 0.6903 GB, free: 42.92 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002936/0.09144, allocations: 4 kB / 0.6903 GB, free: 42.92 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.291e-05/0.09149, allocations: 20.02 kB / 0.6904 GB, free: 42.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.09152, allocations: 4 kB / 0.6904 GB, free: 42.89 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002225/0.09175, allocations: 219.2 kB / 0.6906 GB, free: 42.68 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.41e-07/0.09176, allocations: 0 / 0.6906 GB, free: 42.68 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005358/0.09231, allocations: 56 kB / 0.6906 GB, free: 42.62 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (motor.phi_el,motor.w_el,motor.i) * 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.406e-05/0.0924, allocations: 111 kB / 0.6907 GB, free: 42.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004039/0.09282, allocations: 163.6 kB / 0.6909 GB, free: 42.34 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.003e-06/0.09284, allocations: 0 / 0.6909 GB, free: 42.34 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.09298, allocations: 68.8 kB / 0.691 GB, free: 42.28 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008396/0.09384, allocations: 89.45 kB / 0.691 GB, free: 42.19 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001501/0.09535, allocations: 1.017 MB / 0.692 GB, free: 41.14 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.09565, allocations: 0.8109 MB / 0.6928 GB, free: 40.31 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002449/0.0959, allocations: 54.94 kB / 0.6929 GB, free: 40.25 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.851e-05/0.09599, allocations: 35.42 kB / 0.6929 GB, free: 40.22 MB / 442.7 MB Notification: Performance of SimCode: time 1.361e-06/0.09601, allocations: 0 / 0.6929 GB, free: 40.22 MB / 442.7 MB Notification: Performance of Templates: time 0.007805/0.1038, allocations: 2.932 MB / 0.6958 GB, free: 37.31 MB / 442.7 MB