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.002412/0.002415, allocations: 357 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.407/3.407, allocations: 388.9 MB / 406.2 MB, free: 11.98 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.003208/0.003208, allocations: 231.5 kB / 451.6 MB, free: 14.59 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.6111/0.6111, allocations: 76.01 MB / 0.5594 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004858/0.0004861, allocations: 16 kB / 0.6216 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06664/0.06715, allocations: 53.23 MB / 0.6736 GB, free: 60.81 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.005038/0.07223, allocations: 5.356 MB / 0.6788 GB, free: 55.43 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00513/0.07739, allocations: 3.967 MB / 0.6827 GB, free: 51.45 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004003/0.07783, allocations: 35.75 kB / 0.6827 GB, free: 51.42 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007085/0.08493, allocations: 4.356 MB / 0.687 GB, free: 47.05 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008844/0.08583, allocations: 354.1 kB / 0.6873 GB, free: 46.71 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005641/0.08641, allocations: 191.6 kB / 0.6875 GB, free: 46.52 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001699/0.08813, allocations: 1.75 MB / 0.6892 GB, free: 44.77 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008191/0.08897, allocations: 0.6417 MB / 0.6899 GB, free: 44.09 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002691/0.08925, allocations: 290.8 kB / 0.6901 GB, free: 43.8 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004965/0.08976, allocations: 394.6 kB / 0.6905 GB, free: 43.41 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.998e-05/0.08986, allocations: 28 kB / 0.6905 GB, free: 43.39 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001327/0.09, allocations: 35.98 kB / 0.6906 GB, free: 43.35 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001852/0.0902, allocations: 219.4 kB / 0.6908 GB, free: 43.14 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.09032, allocations: 141.4 kB / 0.6909 GB, free: 42.99 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000502/0.09084, allocations: 0.6312 MB / 0.6915 GB, free: 42.36 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.09085, allocations: 0 / 0.6915 GB, free: 42.36 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.073e-06/0.09087, allocations: 0 / 0.6915 GB, free: 42.36 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.537e-06/0.09088, allocations: 0 / 0.6915 GB, free: 42.36 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001176/0.09206, allocations: 0.7616 MB / 0.6923 GB, free: 41.55 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/0.09211, allocations: 8.828 kB / 0.6923 GB, free: 41.54 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002567/0.09237, allocations: 71.16 kB / 0.6924 GB, free: 41.47 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008484/0.09323, allocations: 0.5289 MB / 0.6929 GB, free: 40.9 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.342e-05/0.09329, allocations: 33 kB / 0.6929 GB, free: 40.86 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.448e-05/0.09338, allocations: 55.83 kB / 0.693 GB, free: 40.81 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009544/0.09435, allocations: 0.6219 MB / 0.6936 GB, free: 40.15 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.09439, allocations: 4 kB / 0.6936 GB, free: 40.15 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.202e-05/0.09445, allocations: 23.94 kB / 0.6936 GB, free: 40.12 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001148/0.09457, allocations: 48.97 kB / 0.6936 GB, free: 40.08 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008199/0.0954, allocations: 459.6 kB / 0.6941 GB, free: 39.62 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003004/0.09843, allocations: 2.519 MB / 0.6965 GB, free: 36.96 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004394/0.09889, allocations: 277.2 kB / 0.6968 GB, free: 36.68 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002146/0.09913, allocations: 149.7 kB / 0.6969 GB, free: 36.52 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.09916, allocations: 4.5 kB / 0.6969 GB, free: 36.52 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.0992, allocations: 38.5 kB / 0.697 GB, free: 36.47 MB / 442.7 MB Notification: Performance of pre-optimization done (n=30): time 3.917e-06/0.09921, allocations: 4 kB / 0.697 GB, free: 36.47 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.003582/0.1028, allocations: 1.924 MB / 0.6989 GB, free: 34.39 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.1028, allocations: 81.14 kB / 0.6989 GB, free: 34.29 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004169/0.1033, allocations: 413.9 kB / 0.6993 GB, free: 33.88 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.1033, allocations: 29.7 kB / 0.6994 GB, free: 33.84 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.1035, allocations: 307.4 kB / 0.6997 GB, free: 33.54 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.207e-05/0.1036, allocations: 118.3 kB / 0.6998 GB, free: 33.42 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.974e-05/0.1036, allocations: 4 kB / 0.6998 GB, free: 33.42 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.909e-05/0.1037, allocations: 358.8 kB / 0.7001 GB, free: 33.06 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002238/0.1039, allocations: 124.8 kB / 0.7002 GB, free: 32.94 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002818/0.1042, allocations: 282.8 kB / 0.7005 GB, free: 32.59 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002833/0.1045, allocations: 180.4 kB / 0.7007 GB, free: 32.42 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.779e-06/0.1045, allocations: 3.953 kB / 0.7007 GB, free: 32.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001124/0.1057, allocations: 0.687 MB / 0.7014 GB, free: 31.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1057, allocations: 12.09 kB / 0.7014 GB, free: 31.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.1057, allocations: 7.984 kB / 0.7014 GB, free: 31.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004541/0.1062, allocations: 141.6 kB / 0.7015 GB, free: 31.53 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003198/0.1065, allocations: 79.89 kB / 0.7016 GB, free: 31.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002717/0.1092, allocations: 3.397 MB / 0.7049 GB, free: 27.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003051/0.1096, allocations: 24 kB / 0.7049 GB, free: 27.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-05/0.1096, allocations: 20 kB / 0.7049 GB, free: 27.75 MB / 442.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.0002994/0.1099, allocations: 233.7 kB / 0.7052 GB, free: 27.51 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.719e-05/0.11, allocations: 43.44 kB / 0.7052 GB, free: 27.46 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009337/0.111, allocations: 0.5808 MB / 0.7058 GB, free: 26.86 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.542e-06/0.111, allocations: 4 kB / 0.7058 GB, free: 26.85 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0007244/0.1117, allocations: 493.8 kB / 0.7062 GB, free: 26.33 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.259e-06/0.1118, allocations: 4.094 kB / 0.7063 GB, free: 26.33 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001466/0.1132, allocations: 1.005 MB / 0.7072 GB, free: 25.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.131e-06/0.1132, allocations: 0 / 0.7072 GB, free: 25.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002682/0.1135, allocations: 47.91 kB / 0.7073 GB, free: 25.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003192/0.1139, allocations: 96.67 kB / 0.7074 GB, free: 25.11 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/0.1139, allocations: 8 kB / 0.7074 GB, free: 25.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00164/0.1156, allocations: 1.863 MB / 0.7092 GB, free: 23.11 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.1156, allocations: 4.109 kB / 0.7092 GB, free: 23.11 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008961/0.1165, allocations: 0.653 MB / 0.7098 GB, free: 22.42 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.1166, allocations: 140.5 kB / 0.71 GB, free: 22.27 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.879e-05/0.1167, allocations: 11.95 kB / 0.71 GB, free: 22.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002191/0.1169, allocations: 8 kB / 0.71 GB, free: 22.25 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.117, allocations: 23.97 kB / 0.71 GB, free: 22.22 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.55e-05/0.117, allocations: 11.98 kB / 0.71 GB, free: 22.21 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003001/0.1173, allocations: 303.2 kB / 0.7103 GB, free: 21.92 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.43e-07/0.1173, allocations: 0 / 0.7103 GB, free: 21.92 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006325/0.118, allocations: 120 kB / 0.7104 GB, free: 21.8 MB / 442.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 9.295e-05/0.1181, allocations: 103.2 kB / 0.7105 GB, free: 21.69 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009295/0.119, allocations: 0.6071 MB / 0.7111 GB, free: 21.05 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.153e-06/0.119, allocations: 0 / 0.7111 GB, free: 21.05 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004541/0.1195, allocations: 309 kB / 0.7114 GB, free: 20.74 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006734/0.1202, allocations: 109.8 kB / 0.7115 GB, free: 20.63 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/0.122, allocations: 1.378 MB / 0.7129 GB, free: 19.21 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.1224, allocations: 0.9361 MB / 0.7138 GB, free: 18.25 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003281/0.1228, allocations: 76.31 kB / 0.7139 GB, free: 18.18 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.588e-05/0.1229, allocations: 31.44 kB / 0.7139 GB, free: 18.14 MB / 442.7 MB Notification: Performance of SimCode: time 1.269e-06/0.1229, allocations: 0 / 0.7139 GB, free: 18.14 MB / 442.7 MB Notification: Performance of Templates: time 0.01165/0.1346, allocations: 5.231 MB / 0.719 GB, free: 12.93 MB / 442.7 MB