Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Drives.ASM.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.ASM,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Drives.ASM") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001349/0.001353, allocations: 184.6 kB / 16.38 MB, free: 5.715 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.602/1.602, allocations: 194.5 MB / 211.6 MB, free: 2.969 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.001675/0.001675, allocations: 109.9 kB / 256.9 MB, free: 4.336 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.2291/0.2291, allocations: 38 MB / 340.1 MB, free: 1.312 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004998/0.0005, allocations: 16 kB / 403.8 MB, free: 68.77 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06519/0.06571, allocations: 53.24 MB / 457 MB, free: 15.48 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM): time 0.006994/0.07274, allocations: 7.343 MB / 464.4 MB, free: 8.109 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006724/0.07949, allocations: 5.135 MB / 469.5 MB, free: 2.961 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005157/0.08003, allocations: 55.69 kB / 469.6 MB, free: 2.906 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004229/0.08427, allocations: 1.914 MB / 471.5 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001241/0.08553, allocations: 0.5374 MB / 472 MB, free: 456 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009692/0.08651, allocations: 407.2 kB / 472.4 MB, free: 48 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00137/0.0879, allocations: 0.9521 MB / 473.4 MB, free: 15.09 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001884/0.0898, allocations: 1.242 MB / 474.6 MB, free: 13.8 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007992/0.09062, allocations: 0.549 MB / 475.1 MB, free: 13.25 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009065/0.09154, allocations: 0.6425 MB / 475.8 MB, free: 12.61 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001876/0.09175, allocations: 64 kB / 475.9 MB, free: 12.55 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001078/0.09284, allocations: 0.5149 MB / 476.4 MB, free: 12.03 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006138/0.09347, allocations: 0.5261 MB / 476.9 MB, free: 11.5 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003404/0.09383, allocations: 277 kB / 477.2 MB, free: 11.23 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002005/0.09584, allocations: 1.683 MB / 478.8 MB, free: 9.539 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.208e-06/0.09586, allocations: 0 / 478.8 MB, free: 9.539 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.91e-06/0.09588, allocations: 4 kB / 478.9 MB, free: 9.535 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.85e-05/0.0959, allocations: 0 / 478.9 MB, free: 9.535 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 293 * Number of variables: 293 Notification: Performance of Generate backend data structure: time 0.00375/0.09966, allocations: 1.709 MB / 480.6 MB, free: 7.738 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.09971, allocations: 12.02 kB / 480.6 MB, free: 7.727 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007281/0.1005, allocations: 190.2 kB / 480.8 MB, free: 7.539 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002176/0.1027, allocations: 0.9758 MB / 481.7 MB, free: 6.52 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002163/0.1029, allocations: 183.1 kB / 481.9 MB, free: 6.32 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002516/0.1032, allocations: 107.9 kB / 482 MB, free: 6.215 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003953/0.1071, allocations: 1.871 MB / 483.9 MB, free: 4.27 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.114e-05/0.1072, allocations: 7.938 kB / 483.9 MB, free: 4.262 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001757/0.1074, allocations: 43.97 kB / 483.9 MB, free: 4.219 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003884/0.1078, allocations: 129.9 kB / 484.1 MB, free: 4.094 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003683/0.1115, allocations: 1.616 MB / 485.7 MB, free: 2.473 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01098/0.1225, allocations: 5.763 MB / 491.4 MB, free: 12.54 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003156/0.1257, allocations: 1.246 MB / 492.7 MB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.989e-05/0.1258, allocations: 13.06 kB / 492.7 MB, free: 11.24 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002244/0.128, allocations: 1 MB / 493.7 MB, free: 10.22 MB / 346.7 MB Notification: Performance of pre-optimization done (n=116): time 4.046e-06/0.128, allocations: 0 / 493.7 MB, free: 10.22 MB / 346.7 MB Notification: Performance of matching and sorting (n=120): time 0.01417/0.1422, allocations: 6.25 MB / 500 MB, free: 3.707 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.923e-05/0.1423, allocations: 127.8 kB / 0.4884 GB, free: 3.555 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/0.1435, allocations: 0.7663 MB / 0.4891 GB, free: 2.781 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001303/0.1437, allocations: 57.7 kB / 0.4892 GB, free: 2.719 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004992/0.1442, allocations: 0.4998 MB / 0.4897 GB, free: 2.211 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000411/0.1446, allocations: 410.3 kB / 0.49 GB, free: 1.805 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.059e-05/0.1447, allocations: 24 kB / 0.4901 GB, free: 1.781 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002677/0.145, allocations: 418.7 kB / 0.4905 GB, free: 1.363 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001285/0.1463, allocations: 0.6747 MB / 0.4911 GB, free: 0.6875 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2163/0.3626, allocations: 0.9453 MB / 0.492 GB, free: 50.3 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001858/0.3645, allocations: 0.8655 MB / 0.4929 GB, free: 50.22 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.853e-06/0.3646, allocations: 6.312 kB / 0.4929 GB, free: 50.22 MB / 346.7 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.004678/0.3692, allocations: 2.422 MB / 0.4953 GB, free: 49.46 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.192e-05/0.3693, allocations: 89.88 kB / 0.4953 GB, free: 49.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.966e-05/0.3694, allocations: 6.781 kB / 0.4954 GB, free: 49.39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001531/0.3709, allocations: 445.9 kB / 0.4958 GB, free: 49.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009622/0.3719, allocations: 212 kB / 0.496 GB, free: 49.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009084/0.381, allocations: 7.232 MB / 0.503 GB, free: 43.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009998/0.382, allocations: 107.3 kB / 0.5031 GB, free: 43.89 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000194/0.3822, allocations: 91.45 kB / 0.5032 GB, free: 43.88 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 29 (system.initime,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.inverter.modulator.gates[1],inverter.modulator.gates[1],$PRE.inverter.modulator.gates[2],inverter.modulator.gates[2],$PRE.inverter.modulator.gates[3],inverter.modulator.gates[3],$PRE.inverter.modulator.gates[4],inverter.modulator.gates[4],$PRE.inverter.modulator.gates[5],inverter.modulator.gates[5],$PRE.inverter.modulator.gates[6],inverter.modulator.gates[6],$PRE.inverter.modulator.sigdel_t[1],inverter.modulator.sigdel_t[1],$PRE.inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[2],$PRE.inverter.modulator.sigdel_t[3],inverter.modulator.sigdel_t[3],$PRE.inverter.modulator.t0[1],inverter.modulator.t0[1],$PRE.inverter.modulator.t0[2],inverter.modulator.t0[2],$PRE.inverter.modulator.t0[3],inverter.modulator.t0[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 114 * Array equations: 3 * Algorithm blocks: 8 * Record equations: 0 * When equations: 0 * 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: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 1 {4 21} Notification: Performance of prepare postOptimizeDAE: time 0.000791/0.383, allocations: 462.1 kB / 0.5037 GB, free: 43.62 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002309/0.3833, allocations: 103.7 kB / 0.5038 GB, free: 43.62 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004803/0.3881, allocations: 2.108 MB / 0.5058 GB, free: 42.68 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.492e-05/0.3882, allocations: 27.62 kB / 0.5059 GB, free: 42.67 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.716e-06/0.3882, allocations: 2.375 kB / 0.5059 GB, free: 42.67 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.65e-05/0.3882, allocations: 9.5 kB / 0.5059 GB, free: 42.67 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006825/0.395, allocations: 3.557 MB / 0.5093 GB, free: 41.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.97e-06/0.3951, allocations: 5.594 kB / 0.5094 GB, free: 41.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/0.3962, allocations: 172.3 kB / 0.5095 GB, free: 41.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006376/0.3968, allocations: 186 kB / 0.5097 GB, free: 41.01 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001148/0.397, allocations: 38.42 kB / 0.5097 GB, free: 40.99 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004248/0.4012, allocations: 5.88 MB / 0.5155 GB, free: 35.4 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.4012, allocations: 5.312 kB / 0.5155 GB, free: 35.4 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006108/0.4074, allocations: 3.088 MB / 0.5185 GB, free: 33.59 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005504/0.4079, allocations: 316.7 kB / 0.5188 GB, free: 33.35 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002743/0.4082, allocations: 85.91 kB / 0.5189 GB, free: 33.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/0.4093, allocations: 133.5 kB / 0.519 GB, free: 33.24 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002094/0.4095, allocations: 82.08 kB / 0.5191 GB, free: 33.19 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001291/0.4096, allocations: 41.69 kB / 0.5191 GB, free: 33.18 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007356/0.4104, allocations: 0.5252 MB / 0.5196 GB, free: 32.87 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.156e-06/0.4104, allocations: 0 / 0.5196 GB, free: 32.87 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001362/0.4118, allocations: 361.3 kB / 0.52 GB, free: 32.83 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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: 17 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.sigdel_t[1],inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[3],inverter.modulator.t0[1],inverter.modulator.t0[2],inverter.modulator.t0[3],system.initime) * Number of discrete states: 12 (inverter.modulator.t0[3],inverter.modulator.sigdel_t[3],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.t0[2],inverter.modulator.sigdel_t[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.t0[1],inverter.modulator.sigdel_t[1],inverter.modulator.gates[1],inverter.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 78 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(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.001114/0.4129, allocations: 436.4 kB / 0.5204 GB, free: 32.46 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004404/0.4173, allocations: 3.18 MB / 0.5235 GB, free: 29.15 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.583e-06/0.4173, allocations: 8.125 kB / 0.5235 GB, free: 29.14 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002351/0.4197, allocations: 1.362 MB / 0.5248 GB, free: 27.73 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009361/0.4206, allocations: 213.8 kB / 0.525 GB, free: 27.53 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005574/0.4262, allocations: 4.1 MB / 0.529 GB, free: 23.41 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008641/0.4271, allocations: 1.305 MB / 0.5303 GB, free: 22.07 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001002/0.4281, allocations: 296.5 kB / 0.5306 GB, free: 21.78 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003248/0.4285, allocations: 79.41 kB / 0.5307 GB, free: 21.7 MB / 346.7 MB Notification: Performance of SimCode: time 1.471e-06/0.4285, allocations: 0 / 0.5307 GB, free: 21.7 MB / 346.7 MB Notification: Performance of Templates: time 0.06288/0.4914, allocations: 20.38 MB / 0.5506 GB, free: 1.34 MB / 346.7 MB