Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.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.ASMcharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001351/0.00135, allocations: 185.8 kB / 16.38 MB, free: 5.598 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.703/1.703, allocations: 194.5 MB / 211.6 MB, free: 7.617 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.001958/0.001957, allocations: 116.6 kB / 256.9 MB, free: 10.23 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.2272/0.2272, allocations: 38.02 MB / 340.1 MB, free: 13.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004322/0.0004323, allocations: 11.56 kB / 403.8 MB, free: 55.22 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.071/0.07146, allocations: 53.23 MB / 457 MB, free: 10.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.005392/0.07689, allocations: 5.13 MB / 462.1 MB, free: 5.211 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005422/0.08233, allocations: 3.941 MB / 466.1 MB, free: 1.266 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003112/0.08266, allocations: 27.81 kB / 466.1 MB, free: 1.238 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003972/0.08665, allocations: 1.665 MB / 467.8 MB, free: 15.57 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006028/0.08727, allocations: 263.2 kB / 468 MB, free: 15.31 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000522/0.08782, allocations: 203.5 kB / 468.2 MB, free: 15.11 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006403/0.08847, allocations: 459.5 kB / 468.7 MB, free: 14.66 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001048/0.08954, allocations: 0.6333 MB / 469.3 MB, free: 14 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003813/0.08994, allocations: 247.1 kB / 469.6 MB, free: 13.75 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004403/0.09039, allocations: 259 kB / 469.8 MB, free: 13.5 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.003e-05/0.09048, allocations: 24 kB / 469.8 MB, free: 13.48 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001427/0.09063, allocations: 39.92 kB / 469.9 MB, free: 13.44 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00027/0.09092, allocations: 199.5 kB / 470.1 MB, free: 13.24 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001722/0.0911, allocations: 137.4 kB / 470.2 MB, free: 13.1 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007762/0.09189, allocations: 0.6272 MB / 470.8 MB, free: 12.47 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.223e-06/0.09191, allocations: 0 / 470.8 MB, free: 12.47 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.71e-06/0.09192, allocations: 0 / 470.8 MB, free: 12.47 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.174e-06/0.09194, allocations: 0 / 470.8 MB, free: 12.47 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001505/0.09345, allocations: 0.7693 MB / 471.6 MB, free: 11.65 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.0935, allocations: 12.02 kB / 471.6 MB, free: 11.64 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002978/0.09381, allocations: 67.2 kB / 471.7 MB, free: 11.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/0.09499, allocations: 0.5367 MB / 472.2 MB, free: 11 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.696e-05/0.09506, allocations: 36.98 kB / 472.3 MB, free: 10.96 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.483e-05/0.09516, allocations: 43.94 kB / 472.3 MB, free: 10.92 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001268/0.09644, allocations: 0.6258 MB / 472.9 MB, free: 10.25 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.989e-05/0.09649, allocations: 4 kB / 472.9 MB, free: 10.25 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.211e-05/0.09656, allocations: 23.92 kB / 472.9 MB, free: 10.22 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001451/0.09672, allocations: 48.92 kB / 473 MB, free: 10.18 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001028/0.09776, allocations: 463.6 kB / 473.4 MB, free: 9.723 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004072/0.1018, allocations: 2.518 MB / 476 MB, free: 7.066 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005911/0.1025, allocations: 285.1 kB / 476.2 MB, free: 6.77 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.114e-05/0.1025, allocations: 4.062 kB / 476.3 MB, free: 6.766 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.1026, allocations: 38.56 kB / 476.3 MB, free: 6.719 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 2.532e-06/0.1026, allocations: 0 / 476.3 MB, free: 6.719 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.004179/0.1068, allocations: 1.875 MB / 478.2 MB, free: 4.691 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/0.1068, allocations: 81.11 kB / 478.2 MB, free: 4.594 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005786/0.1074, allocations: 409.9 kB / 478.6 MB, free: 4.191 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.637e-05/0.1075, allocations: 33.64 kB / 478.7 MB, free: 4.152 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002745/0.1078, allocations: 303.4 kB / 479 MB, free: 3.852 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/0.1079, allocations: 118.4 kB / 479.1 MB, free: 3.734 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.405e-05/0.1079, allocations: 4 kB / 479.1 MB, free: 3.73 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002026/0.1081, allocations: 354.8 kB / 479.4 MB, free: 3.375 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002913/0.1085, allocations: 136.8 kB / 479.6 MB, free: 3.238 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000409/0.1089, allocations: 274.8 kB / 479.8 MB, free: 2.91 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003836/0.1093, allocations: 180.4 kB / 480 MB, free: 2.734 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.354e-06/0.1093, allocations: 4 kB / 480 MB, free: 2.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001481/0.1108, allocations: 0.683 MB / 480.7 MB, free: 2.016 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.1108, allocations: 4 kB / 480.7 MB, free: 2.012 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.1108, allocations: 8 kB / 480.7 MB, free: 2.004 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005352/0.1114, allocations: 149.6 kB / 480.9 MB, free: 1.852 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003488/0.1117, allocations: 75.84 kB / 480.9 MB, free: 1.777 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004496/0.1163, allocations: 3.452 MB / 484.4 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000281/0.1166, allocations: 16 kB / 484.4 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.536e-05/0.1166, allocations: 19.98 kB / 484.4 MB, free: 14.02 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (43): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 6,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003534/0.117, allocations: 245.6 kB / 484.7 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.848e-05/0.1171, allocations: 43.44 kB / 484.7 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001288/0.1184, allocations: 0.5886 MB / 485.3 MB, free: 13.11 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.401e-06/0.1184, allocations: 4 kB / 485.3 MB, free: 13.11 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.001026/0.1195, allocations: 492.3 kB / 485.8 MB, free: 12.59 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.45e-05/0.1195, allocations: 7.938 kB / 485.8 MB, free: 12.58 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002048/0.1216, allocations: 0.9972 MB / 486.8 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.058e-06/0.1216, allocations: 4 kB / 486.8 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002971/0.1219, allocations: 51.84 kB / 486.8 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003507/0.1223, allocations: 88.78 kB / 486.9 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.853e-05/0.1223, allocations: 12.05 kB / 486.9 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002633/0.125, allocations: 1.91 MB / 488.8 MB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.435e-06/0.125, allocations: 7.969 kB / 488.9 MB, free: 9.305 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001319/0.1263, allocations: 0.6819 MB / 489.5 MB, free: 8.566 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001943/0.1265, allocations: 148.6 kB / 489.7 MB, free: 8.402 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.868e-05/0.1266, allocations: 4 kB / 489.7 MB, free: 8.398 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/0.1269, allocations: 7.984 kB / 489.7 MB, free: 8.391 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.239e-05/0.1269, allocations: 31.84 kB / 489.7 MB, free: 8.359 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.438e-05/0.127, allocations: 15.95 kB / 489.7 MB, free: 8.344 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004448/0.1274, allocations: 299.1 kB / 490 MB, free: 8.051 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.45e-07/0.1275, allocations: 0 / 490 MB, free: 8.051 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006353/0.1281, allocations: 120 kB / 490.1 MB, free: 7.934 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (asm.motor.phi_el,asm.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 (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 {(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001342/0.1283, allocations: 99.25 kB / 490.2 MB, free: 7.828 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001266/0.1295, allocations: 0.6235 MB / 490.9 MB, free: 7.18 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.251e-06/0.1296, allocations: 0 / 490.9 MB, free: 7.18 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006587/0.1302, allocations: 308.1 kB / 491.2 MB, free: 6.867 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005984/0.1308, allocations: 106.6 kB / 491.3 MB, free: 6.766 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002355/0.1332, allocations: 1.369 MB / 492.6 MB, free: 5.352 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007382/0.134, allocations: 0.9323 MB / 493.6 MB, free: 4.391 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003696/0.1344, allocations: 80.31 kB / 493.7 MB, free: 4.312 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.1345, allocations: 35.38 kB / 493.7 MB, free: 4.277 MB / 330.7 MB Notification: Performance of SimCode: time 1.423e-06/0.1345, allocations: 0 / 493.7 MB, free: 4.277 MB / 330.7 MB Notification: Performance of Templates: time 0.01413/0.1486, allocations: 5.205 MB / 498.9 MB, free: 15.09 MB / 346.7 MB