Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Drives.ASMav.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.Drives.ASMav,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2400,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Drives.ASMav") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002453/0.002457, allocations: 352.4 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.492/3.492, allocations: 388.9 MB / 406.2 MB, free: 12.02 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.003382/0.003381, allocations: 223.9 kB / 451.6 MB, free: 14.62 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.6469/0.6469, allocations: 76.01 MB / 0.5594 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005266/0.0005268, allocations: 8 kB / 0.6216 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06866/0.06921, allocations: 53.22 MB / 0.6736 GB, free: 60.84 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.00735/0.07661, allocations: 7.406 MB / 0.6808 GB, free: 53.4 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.007356/0.08399, allocations: 5.036 MB / 0.6858 GB, free: 48.35 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006417/0.08466, allocations: 51.69 kB / 0.6858 GB, free: 48.3 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008949/0.09363, allocations: 5.323 MB / 0.691 GB, free: 42.96 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00161/0.09526, allocations: 0.5556 MB / 0.6915 GB, free: 42.41 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001132/0.09641, allocations: 387.2 kB / 0.6919 GB, free: 42.03 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002516/0.09894, allocations: 2.534 MB / 0.6944 GB, free: 39.49 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001307/0.1003, allocations: 0.9638 MB / 0.6953 GB, free: 38.47 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005782/0.1009, allocations: 0.4901 MB / 0.6958 GB, free: 37.98 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008066/0.1017, allocations: 0.6969 MB / 0.6965 GB, free: 37.28 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001219/0.1018, allocations: 44 kB / 0.6965 GB, free: 37.24 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004171/0.1023, allocations: 163.8 kB / 0.6967 GB, free: 37.08 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003713/0.1027, allocations: 442.8 kB / 0.6971 GB, free: 36.64 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002262/0.1029, allocations: 225.1 kB / 0.6973 GB, free: 36.42 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001041/0.104, allocations: 1.181 MB / 0.6985 GB, free: 35.23 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.225e-06/0.104, allocations: 4 kB / 0.6985 GB, free: 35.23 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.679e-06/0.104, allocations: 0 / 0.6985 GB, free: 35.23 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.405e-05/0.104, allocations: 4 kB / 0.6985 GB, free: 35.23 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: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.002495/0.1065, allocations: 1.275 MB / 0.6997 GB, free: 33.89 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.1066, allocations: 12.83 kB / 0.6997 GB, free: 33.88 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007212/0.1073, allocations: 154.5 kB / 0.6999 GB, free: 33.73 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001666/0.109, allocations: 0.8511 MB / 0.7007 GB, free: 32.84 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.842e-05/0.1091, allocations: 66 kB / 0.7008 GB, free: 32.77 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001679/0.1093, allocations: 95.88 kB / 0.7009 GB, free: 32.68 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001846/0.1111, allocations: 1.224 MB / 0.7021 GB, free: 31.38 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.772e-05/0.1112, allocations: 7.938 kB / 0.7021 GB, free: 31.38 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.953e-05/0.1113, allocations: 35.95 kB / 0.7021 GB, free: 31.34 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002472/0.1116, allocations: 89.94 kB / 0.7022 GB, free: 31.25 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001742/0.1133, allocations: 0.9875 MB / 0.7032 GB, free: 30.26 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006431/0.1198, allocations: 4.936 MB / 0.708 GB, free: 25.11 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/0.1208, allocations: 0.6449 MB / 0.7086 GB, free: 24.43 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006509/0.1215, allocations: 359.2 kB / 0.709 GB, free: 24.07 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.696e-05/0.1216, allocations: 12.59 kB / 0.709 GB, free: 24.06 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006718/0.1223, allocations: 441.8 kB / 0.7094 GB, free: 23.61 MB / 442.7 MB Notification: Performance of pre-optimization done (n=62): time 3.528e-06/0.1223, allocations: 4 kB / 0.7094 GB, free: 23.61 MB / 442.7 MB Notification: Performance of matching and sorting (n=66): time 0.005967/0.1283, allocations: 3.277 MB / 0.7126 GB, free: 20.15 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/0.1283, allocations: 111.4 kB / 0.7127 GB, free: 20.02 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008961/0.1292, allocations: 0.7388 MB / 0.7134 GB, free: 19.27 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.737e-05/0.1293, allocations: 41.7 kB / 0.7135 GB, free: 19.23 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002831/0.1296, allocations: 498.7 kB / 0.7139 GB, free: 18.73 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001702/0.1298, allocations: 236.6 kB / 0.7142 GB, free: 18.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.896e-05/0.1298, allocations: 20 kB / 0.7142 GB, free: 18.48 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.13, allocations: 406.7 kB / 0.7146 GB, free: 18.07 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006652/0.1307, allocations: 377.8 kB / 0.7149 GB, free: 17.7 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008504/0.1315, allocations: 0.6539 MB / 0.7156 GB, free: 16.93 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007978/0.1323, allocations: 0.5007 MB / 0.7161 GB, free: 16.42 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-06/0.1323, allocations: 4 kB / 0.7161 GB, free: 16.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.003296/0.1357, allocations: 1.648 MB / 0.7177 GB, free: 14.73 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.385e-05/0.1357, allocations: 41.8 kB / 0.7177 GB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.1357, allocations: 11.98 kB / 0.7177 GB, free: 14.67 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001705/0.1374, allocations: 490.5 kB / 0.7182 GB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007229/0.1382, allocations: 171.7 kB / 0.7184 GB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009469/0.1477, allocations: 6.507 MB / 0.7247 GB, free: 7.238 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007675/0.1485, allocations: 52.03 kB / 0.7248 GB, free: 7.188 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.404e-05/0.1486, allocations: 44 kB / 0.7248 GB, free: 7.145 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (91): * Single equations (assignments): 88 * 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: 2 * 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: 1 {6 23} Notification: Performance of prepare postOptimizeDAE: time 0.000581/0.1492, allocations: 349.5 kB / 0.7251 GB, free: 6.793 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.1493, allocations: 86.92 kB / 0.7252 GB, free: 6.707 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002028/0.1513, allocations: 1.118 MB / 0.7263 GB, free: 5.531 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.1514, allocations: 8 kB / 0.7263 GB, free: 5.523 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.443e-06/0.1514, allocations: 7.984 kB / 0.7263 GB, free: 5.516 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.1514, allocations: 7.984 kB / 0.7263 GB, free: 5.508 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003759/0.1552, allocations: 2.116 MB / 0.7284 GB, free: 3.273 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.099e-06/0.1552, allocations: 4.031 kB / 0.7284 GB, free: 3.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008617/0.1561, allocations: 123.8 kB / 0.7285 GB, free: 3.148 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006532/0.1567, allocations: 162.3 kB / 0.7287 GB, free: 2.98 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.573e-05/0.1568, allocations: 27.94 kB / 0.7287 GB, free: 2.953 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2379/0.3948, allocations: 4.435 MB / 0.733 GB, free: 124.7 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.395e-06/0.3948, allocations: 6.281 kB / 0.733 GB, free: 124.7 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002893/0.3977, allocations: 1.528 MB / 0.7345 GB, free: 124.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003782/0.3981, allocations: 216.9 kB / 0.7347 GB, free: 124.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001575/0.3983, allocations: 25.3 kB / 0.7348 GB, free: 124.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006153/0.3989, allocations: 35.66 kB / 0.7348 GB, free: 124.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001647/0.3991, allocations: 51.91 kB / 0.7348 GB, free: 124.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.989e-05/0.3992, allocations: 24.27 kB / 0.7349 GB, free: 124.2 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008486/0.4001, allocations: 0.4969 MB / 0.7354 GB, free: 124.1 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.23e-07/0.4001, allocations: 0 / 0.7354 GB, free: 124.1 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001253/0.4013, allocations: 265.1 kB / 0.7356 GB, free: 124.1 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 13 (power.pav[1],power.pav[2],power.pav[3],asm.motor.i[3],asm.motor.phi_el,asm.motor.w_el,asm.motor.psi_s[1],asm.motor.psi_s[2],asm.motor.psi_rd[1],asm.motor.psi_rd[2],asm.motor.psi_rq[1],asm.motor.psi_rq[2],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 (60): * Single equations (assignments): 56 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001135/0.4025, allocations: 352.2 kB / 0.7359 GB, free: 124 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00298/0.4055, allocations: 1.386 MB / 0.7373 GB, free: 123.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.4055, allocations: 3.312 kB / 0.7373 GB, free: 123.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001443/0.407, allocations: 0.7828 MB / 0.7381 GB, free: 123.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/0.4082, allocations: 197.4 kB / 0.7382 GB, free: 123.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005175/0.4134, allocations: 3.249 MB / 0.7414 GB, free: 121.9 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008858/0.4143, allocations: 1.165 MB / 0.7426 GB, free: 121.2 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00106/0.4154, allocations: 234.8 kB / 0.7428 GB, free: 121.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00025/0.4156, allocations: 64.84 kB / 0.7428 GB, free: 121.2 MB / 442.7 MB Notification: Performance of SimCode: time 1.684e-06/0.4156, allocations: 0 / 0.7428 GB, free: 121.2 MB / 442.7 MB Notification: Performance of Templates: time 0.03076/0.4464, allocations: 13.35 MB / 0.7559 GB, free: 120.5 MB / 442.7 MB