Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic") translateModel(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009797/0.0009797, allocations: 93.25 kB / 16.3 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009292/0.0009292, allocations: 183.6 kB / 17.2 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.624/1.624, allocations: 205.4 MB / 223.3 MB, free: 13.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1896/0.1896, allocations: 38.03 MB / 309.7 MB, free: 6.141 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005371/0.0005371, allocations: 19.98 kB / 376.5 MB, free: 3.219 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2708, allocations: 56.33 MB / 432.8 MB, free: 18.86 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.005468/0.2763, allocations: 5.143 MB / 437.9 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005339/0.2817, allocations: 3.958 MB / 441.9 MB, free: 9.727 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006652/0.2824, allocations: 31.81 kB / 441.9 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003941/0.2863, allocations: 1.659 MB / 443.6 MB, free: 8.031 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008992/0.2872, allocations: 267.2 kB / 443.9 MB, free: 7.77 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005886/0.2878, allocations: 191.6 kB / 444 MB, free: 7.582 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004248/0.2883, allocations: 459.5 kB / 444.5 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007324/0.289, allocations: 0.6458 MB / 445.1 MB, free: 6.457 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002289/0.2893, allocations: 251.1 kB / 445.4 MB, free: 6.211 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000282/0.2896, allocations: 251 kB / 445.6 MB, free: 5.965 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.255e-05/0.2896, allocations: 28 kB / 445.7 MB, free: 5.938 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.893e-05/0.2897, allocations: 31.98 kB / 445.7 MB, free: 5.906 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000154/0.2899, allocations: 199.5 kB / 445.9 MB, free: 5.711 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.978e-05/0.29, allocations: 149.4 kB / 446 MB, free: 5.559 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004089/0.2904, allocations: 0.6272 MB / 446.7 MB, free: 4.93 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.2904, allocations: 0 / 446.7 MB, free: 4.93 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2904, allocations: 0 / 446.7 MB, free: 4.93 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.289e-05/0.2904, allocations: 4 kB / 446.7 MB, free: 4.926 MB / 318.1 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.001217/0.2917, allocations: 0.7576 MB / 447.4 MB, free: 4.117 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.2917, allocations: 8.031 kB / 447.4 MB, free: 4.109 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002569/0.292, allocations: 75.19 kB / 447.5 MB, free: 4.035 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008803/0.2929, allocations: 0.5289 MB / 448 MB, free: 3.465 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.444e-05/0.2929, allocations: 36.98 kB / 448.1 MB, free: 3.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.087e-05/0.293, allocations: 44 kB / 448.1 MB, free: 3.387 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008114/0.2938, allocations: 0.6141 MB / 448.7 MB, free: 2.73 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/0.2939, allocations: 11.94 kB / 448.7 MB, free: 2.719 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.658e-05/0.2939, allocations: 23.92 kB / 448.8 MB, free: 2.695 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001176/0.294, allocations: 48.97 kB / 448.8 MB, free: 2.648 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000615/0.2947, allocations: 463.6 kB / 449.3 MB, free: 2.195 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002974/0.2976, allocations: 2.522 MB / 451.8 MB, free: 15.53 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000446/0.2981, allocations: 281.2 kB / 452.1 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.687e-05/0.2981, allocations: 4.062 kB / 452.1 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.2982, allocations: 38.56 kB / 452.1 MB, free: 15.18 MB / 334.1 MB Notification: Performance of pre-optimization done (n=30): time 1.803e-06/0.2982, allocations: 0 / 452.1 MB, free: 15.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.00302/0.3012, allocations: 1.536 MB / 453.6 MB, free: 13.53 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.013e-05/0.3013, allocations: 85.05 kB / 453.7 MB, free: 13.43 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000546/0.3019, allocations: 413.8 kB / 454.1 MB, free: 13.02 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.3019, allocations: 29.7 kB / 454.1 MB, free: 12.98 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002565/0.3022, allocations: 299.5 kB / 454.4 MB, free: 12.69 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.3023, allocations: 114.5 kB / 454.5 MB, free: 12.57 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.826e-05/0.3023, allocations: 8 kB / 454.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.3025, allocations: 354.8 kB / 454.9 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/0.3027, allocations: 128.8 kB / 455 MB, free: 12.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003089/0.3031, allocations: 270.9 kB / 455.3 MB, free: 11.76 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000267/0.3033, allocations: 184.1 kB / 455.5 MB, free: 11.58 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3034, allocations: 4 kB / 455.5 MB, free: 11.58 MB / 334.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001047/0.3044, allocations: 0.679 MB / 456.2 MB, free: 10.87 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/0.3045, allocations: 11.94 kB / 456.2 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.689e-06/0.3045, allocations: 4 kB / 456.2 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004419/0.3049, allocations: 145.9 kB / 456.3 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002945/0.3052, allocations: 87.77 kB / 456.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003488/0.3087, allocations: 3.447 MB / 459.8 MB, free: 6.895 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002769/0.309, allocations: 16 kB / 459.9 MB, free: 6.879 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.401e-05/0.3091, allocations: 20 kB / 459.9 MB, free: 6.859 MB / 334.1 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 (42): * Single equations (assignments): 40 * 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.0003791/0.3094, allocations: 249.6 kB / 460.1 MB, free: 6.605 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.078e-05/0.3095, allocations: 43.44 kB / 460.2 MB, free: 6.562 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001017/0.3106, allocations: 0.5713 MB / 460.7 MB, free: 5.961 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.3106, allocations: 4 kB / 460.7 MB, free: 5.957 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000706/0.3113, allocations: 486.3 kB / 461.2 MB, free: 5.445 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.3113, allocations: 240 / 461.2 MB, free: 5.445 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001493/0.3128, allocations: 1.009 MB / 462.2 MB, free: 4.367 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.3128, allocations: 0 / 462.2 MB, free: 4.367 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001968/0.313, allocations: 43.91 kB / 462.3 MB, free: 4.324 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002682/0.3133, allocations: 89.34 kB / 462.4 MB, free: 4.234 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.3133, allocations: 8 kB / 462.4 MB, free: 4.227 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001912/0.3153, allocations: 1.894 MB / 464.3 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.3153, allocations: 3.984 kB / 464.3 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.3163, allocations: 0.701 MB / 465 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000173/0.3165, allocations: 128.5 kB / 465.1 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.114e-05/0.3166, allocations: 11.98 kB / 465.1 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.3167, allocations: 8 kB / 465.1 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.262e-05/0.3168, allocations: 23.97 kB / 465.1 MB, free: 1.246 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.3168, allocations: 8 kB / 465.1 MB, free: 1.238 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004029/0.3172, allocations: 299.1 kB / 465.4 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3173, allocations: 0 / 465.4 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005854/0.3178, allocations: 124.1 kB / 465.6 MB, free: 0.8242 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (asm.rotor.phi,asm.rotor.w) * 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 (22): * Single equations (assignments): 20 * 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.0001558/0.318, allocations: 103.2 kB / 465.7 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009925/0.319, allocations: 0.6031 MB / 466.3 MB, free: 88 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.319, allocations: 0 / 466.3 MB, free: 88 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004782/0.3195, allocations: 307.4 kB / 466.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005362/0.3201, allocations: 117.9 kB / 466.7 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/0.3221, allocations: 1.371 MB / 468 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005361/0.3226, allocations: 0.9284 MB / 469 MB, free: 13.3 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002464/0.3229, allocations: 80.31 kB / 469.1 MB, free: 13.22 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.006e-05/0.323, allocations: 35.44 kB / 469.1 MB, free: 13.19 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.323, allocations: 0 / 469.1 MB, free: 13.19 MB / 350.1 MB Notification: Performance of Templates: time 0.01012/0.3331, allocations: 5.182 MB / 474.3 MB, free: 8.02 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe 2>&1) Environment - environmentSimulation: