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.001359/0.001362, allocations: 186 kB / 16.38 MB, free: 5.594 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.696/1.696, allocations: 194.5 MB / 211.6 MB, free: 7.602 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.001757/0.001757, allocations: 116.7 kB / 256.9 MB, free: 10.22 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.2223/0.2223, allocations: 38.01 MB / 340.1 MB, free: 13.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000464/0.0004642, allocations: 24.67 kB / 403.8 MB, free: 55.18 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06712/0.06762, allocations: 53.22 MB / 457 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par): time 0.005669/0.07333, allocations: 5.35 MB / 462.4 MB, free: 5.012 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002947/0.07631, allocations: 2.075 MB / 464.4 MB, free: 2.93 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003177/0.07665, allocations: 27.81 kB / 464.5 MB, free: 2.902 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004351/0.0771, allocations: 151.1 kB / 464.6 MB, free: 2.754 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008135/0.07793, allocations: 354.8 kB / 465 MB, free: 2.406 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00045/0.07839, allocations: 175.7 kB / 465.1 MB, free: 2.234 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006825/0.07909, allocations: 494.9 kB / 465.6 MB, free: 1.75 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004427/0.07956, allocations: 362.2 kB / 466 MB, free: 1.391 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003644/0.07994, allocations: 267 kB / 466.2 MB, free: 1.129 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003051/0.08026, allocations: 239 kB / 466.5 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.712e-05/0.08034, allocations: 28 kB / 466.5 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001589/0.08051, allocations: 51.98 kB / 466.5 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.08066, allocations: 143.5 kB / 466.7 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001191/0.08079, allocations: 133.4 kB / 466.8 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005619/0.08137, allocations: 0.5533 MB / 467.4 MB, free: 15.98 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.782e-06/0.08139, allocations: 0 / 467.4 MB, free: 15.98 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.955e-06/0.0814, allocations: 0 / 467.4 MB, free: 15.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.08142, allocations: 4 kB / 467.4 MB, free: 15.98 MB / 314.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.0017/0.08313, allocations: 0.8178 MB / 468.2 MB, free: 15.11 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.08319, allocations: 16.02 kB / 468.2 MB, free: 15.09 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001359/0.08333, allocations: 63.25 kB / 468.3 MB, free: 15.03 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.08435, allocations: 485.7 kB / 468.7 MB, free: 14.51 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.785e-05/0.08442, allocations: 29 kB / 468.8 MB, free: 14.48 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/0.08458, allocations: 55.89 kB / 468.8 MB, free: 14.43 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.08563, allocations: 0.5056 MB / 469.3 MB, free: 13.88 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/0.08568, allocations: 7.906 kB / 469.3 MB, free: 13.87 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.065e-05/0.08575, allocations: 20 kB / 469.4 MB, free: 13.85 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.408e-05/0.08585, allocations: 21 kB / 469.4 MB, free: 13.83 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007764/0.08664, allocations: 331.7 kB / 469.7 MB, free: 13.51 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003434/0.09009, allocations: 2.078 MB / 471.8 MB, free: 11.32 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005764/0.09069, allocations: 227.6 kB / 472 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/0.09074, allocations: 8.469 kB / 472 MB, free: 11.06 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003379/0.09109, allocations: 168.4 kB / 472.2 MB, free: 10.88 MB / 314.7 MB Notification: Performance of pre-optimization done (n=23): time 2.813e-06/0.09111, allocations: 0 / 472.2 MB, free: 10.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=26): time 0.002561/0.09368, allocations: 1.148 MB / 473.3 MB, free: 9.641 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.47e-05/0.09379, allocations: 136.5 kB / 473.5 MB, free: 9.477 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006516/0.09446, allocations: 413.9 kB / 473.9 MB, free: 9.066 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.015e-05/0.09451, allocations: 29.7 kB / 473.9 MB, free: 9.031 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002767/0.0948, allocations: 303.7 kB / 474.2 MB, free: 8.73 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.663e-05/0.09491, allocations: 86.75 kB / 474.3 MB, free: 8.645 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.352e-05/0.09496, allocations: 12.06 kB / 474.3 MB, free: 8.633 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002041/0.09517, allocations: 354.8 kB / 474.6 MB, free: 8.277 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002386/0.09542, allocations: 88.83 kB / 474.7 MB, free: 8.191 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003902/0.09583, allocations: 229.4 kB / 474.9 MB, free: 7.906 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003226/0.09617, allocations: 145.7 kB / 475.1 MB, free: 7.758 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.47e-06/0.09619, allocations: 0 / 475.1 MB, free: 7.758 MB / 314.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00121/0.09741, allocations: 484 kB / 475.6 MB, free: 7.27 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.616e-05/0.09747, allocations: 41.52 kB / 475.6 MB, free: 7.227 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.0975, allocations: 4 kB / 475.6 MB, free: 7.223 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005129/0.09802, allocations: 100.8 kB / 475.7 MB, free: 7.121 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00034/0.09838, allocations: 71.84 kB / 475.8 MB, free: 7.051 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002722/0.1011, allocations: 1.718 MB / 477.5 MB, free: 5.195 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003417/0.1015, allocations: 23.89 kB / 477.5 MB, free: 5.172 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.413e-05/0.1015, allocations: 20 kB / 477.5 MB, free: 5.152 MB / 314.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.0003441/0.1019, allocations: 220.8 kB / 477.7 MB, free: 4.93 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.887e-05/0.102, allocations: 43.53 kB / 477.8 MB, free: 4.887 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007665/0.1028, allocations: 286.1 kB / 478.1 MB, free: 4.598 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.118e-06/0.1028, allocations: 4 kB / 478.1 MB, free: 4.594 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.1028, allocations: 3.953 kB / 478.1 MB, free: 4.59 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.1028, allocations: 7.984 kB / 478.1 MB, free: 4.582 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001597/0.1044, allocations: 0.7839 MB / 478.9 MB, free: 3.738 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.748e-06/0.1045, allocations: 4 kB / 478.9 MB, free: 3.734 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003673/0.1048, allocations: 51.92 kB / 478.9 MB, free: 3.684 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002727/0.1051, allocations: 56.73 kB / 479 MB, free: 3.625 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.988e-05/0.1052, allocations: 4 kB / 479 MB, free: 3.621 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001776/0.107, allocations: 1.452 MB / 480.4 MB, free: 2.035 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.416e-06/0.107, allocations: 0 / 480.4 MB, free: 2.035 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.108, allocations: 0.5007 MB / 480.9 MB, free: 1.496 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001916/0.1082, allocations: 128.7 kB / 481.1 MB, free: 1.352 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.193e-05/0.1083, allocations: 11.95 kB / 481.1 MB, free: 1.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002889/0.1086, allocations: 15.98 kB / 481.1 MB, free: 1.324 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.842e-05/0.1087, allocations: 27.83 kB / 481.1 MB, free: 1.297 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.111e-05/0.1088, allocations: 8 kB / 481.1 MB, free: 1.289 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004478/0.1092, allocations: 287.1 kB / 481.4 MB, free: 1.008 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.66e-07/0.1092, allocations: 4 kB / 481.4 MB, free: 1.004 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006657/0.1099, allocations: 112 kB / 481.5 MB, free: 0.8945 MB / 314.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.001124/0.111, allocations: 338.4 kB / 481.8 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001003/0.1121, allocations: 441.7 kB / 482.3 MB, free: 144 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.022e-06/0.1121, allocations: 5.062 kB / 482.3 MB, free: 140 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005302/0.1126, allocations: 247.2 kB / 482.5 MB, free: 15.88 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006967/0.1134, allocations: 125.7 kB / 482.6 MB, free: 15.76 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002602/0.116, allocations: 1.479 MB / 484.1 MB, free: 14.25 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006635/0.1167, allocations: 0.8818 MB / 485 MB, free: 13.34 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000344/0.117, allocations: 68.23 kB / 485.1 MB, free: 13.27 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.1171, allocations: 35.42 kB / 485.1 MB, free: 13.23 MB / 330.7 MB Notification: Performance of SimCode: time 1.375e-06/0.1171, allocations: 0 / 485.1 MB, free: 13.23 MB / 330.7 MB Notification: Performance of Templates: time 0.01621/0.1334, allocations: 5.794 MB / 490.9 MB, free: 7.445 MB / 330.7 MB