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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.001504/0.001504, allocations: 110.5 kB / 17.74 MB, free: 5.332 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.001658/0.001659, allocations: 197.2 kB / 18.68 MB, free: 4.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.177/0.177, allocations: 38.02 MB / 330.6 MB, free: 8.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 63.91 kB / 458.8 MB, free: 6.836 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.272, allocations: 58.06 MB / 0.5048 GB, free: 7.793 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.005316/0.2773, allocations: 5.228 MB / 0.5099 GB, free: 4.164 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004525/0.2819, allocations: 3.958 MB / 0.5137 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002805/0.2822, allocations: 22.81 kB / 0.5138 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008888/0.2911, allocations: 4.793 MB / 0.5184 GB, free: 40 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00088/0.292, allocations: 329.3 kB / 0.5188 GB, free: 15.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005471/0.2925, allocations: 218.1 kB / 0.519 GB, free: 15.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001917/0.2945, allocations: 1.548 MB / 0.5205 GB, free: 15.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007336/0.2952, allocations: 0.6018 MB / 0.5211 GB, free: 14.9 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004163/0.2956, allocations: 369.8 kB / 0.5214 GB, free: 14.74 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000519/0.2962, allocations: 410.3 kB / 0.5218 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.185e-05/0.2963, allocations: 56.38 kB / 0.5219 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001659/0.2964, allocations: 66.75 kB / 0.5219 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002521/0.2967, allocations: 259.2 kB / 0.5222 GB, free: 14.46 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003128/0.297, allocations: 322.4 kB / 0.5225 GB, free: 14.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000939/0.298, allocations: 0.8091 MB / 0.5233 GB, free: 13.96 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.298, allocations: 0 / 0.5233 GB, free: 13.96 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.298, allocations: 3.938 kB / 0.5233 GB, free: 13.96 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.298, allocations: 0 / 0.5233 GB, free: 13.96 MB / 398.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.001511/0.2995, allocations: 0.8822 MB / 0.5241 GB, free: 13.3 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.2996, allocations: 13.02 kB / 0.5241 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002687/0.2998, allocations: 72 kB / 0.5242 GB, free: 13.26 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009725/0.3008, allocations: 0.5737 MB / 0.5248 GB, free: 12.87 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.935e-05/0.3009, allocations: 39.45 kB / 0.5248 GB, free: 12.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.049e-05/0.3009, allocations: 42.91 kB / 0.5249 GB, free: 12.83 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009374/0.3019, allocations: 0.6299 MB / 0.5255 GB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.553e-05/0.3019, allocations: 6.453 kB / 0.5255 GB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.046e-05/0.302, allocations: 24.88 kB / 0.5255 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001234/0.3021, allocations: 46.97 kB / 0.5255 GB, free: 12.49 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007606/0.3029, allocations: 465.8 kB / 0.526 GB, free: 12.33 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002855/0.3057, allocations: 2.505 MB / 0.5284 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004289/0.3062, allocations: 284.9 kB / 0.5287 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002052/0.3064, allocations: 140.4 kB / 0.5288 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.3064, allocations: 4.875 kB / 0.5288 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.3065, allocations: 44.67 kB / 0.5289 GB, free: 10.11 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 3.667e-06/0.3065, allocations: 0 / 0.5289 GB, free: 10.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.002707/0.3092, allocations: 1.555 MB / 0.5304 GB, free: 8.938 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.3092, allocations: 88.72 kB / 0.5305 GB, free: 8.836 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004068/0.3097, allocations: 409.9 kB / 0.5309 GB, free: 8.582 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.3097, allocations: 30.83 kB / 0.5309 GB, free: 8.547 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001813/0.3099, allocations: 303.5 kB / 0.5312 GB, free: 8.277 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.622e-05/0.31, allocations: 122 kB / 0.5313 GB, free: 8.172 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.3101, allocations: 81.67 kB / 0.5314 GB, free: 8.117 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.3103, allocations: 361.8 kB / 0.5317 GB, free: 7.766 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/0.3105, allocations: 131.8 kB / 0.5319 GB, free: 7.703 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002908/0.3108, allocations: 284.7 kB / 0.5321 GB, free: 7.438 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005337/0.3113, allocations: 440.5 kB / 0.5326 GB, free: 7.102 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.3113, allocations: 2.25 kB / 0.5326 GB, free: 7.102 MB / 398.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001051/0.3124, allocations: 0.6855 MB / 0.5332 GB, free: 6.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.3124, allocations: 8.062 kB / 0.5332 GB, free: 6.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.3124, allocations: 4.875 kB / 0.5332 GB, free: 6.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004258/0.3129, allocations: 146.3 kB / 0.5334 GB, free: 6.582 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002871/0.3131, allocations: 73.98 kB / 0.5334 GB, free: 6.566 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003128/0.3163, allocations: 3.684 MB / 0.537 GB, free: 3.145 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002446/0.3165, allocations: 11.19 kB / 0.5371 GB, free: 3.141 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.782e-05/0.3166, allocations: 23.39 kB / 0.5371 GB, free: 3.133 MB / 398.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,6,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002641/0.3169, allocations: 235.4 kB / 0.5373 GB, free: 2.941 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.974e-05/0.3169, allocations: 44.59 kB / 0.5373 GB, free: 2.918 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009364/0.3179, allocations: 0.5719 MB / 0.5379 GB, free: 2.512 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.3179, allocations: 3.984 kB / 0.5379 GB, free: 2.508 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3179, allocations: 4.875 kB / 0.5379 GB, free: 2.504 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/0.3181, allocations: 153.5 kB / 0.5381 GB, free: 2.355 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.34e-05/0.3181, allocations: 6.188 kB / 0.5381 GB, free: 2.352 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.3183, allocations: 6.25 kB / 0.5381 GB, free: 2.348 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.61e-05/0.3184, allocations: 29.52 kB / 0.5381 GB, free: 2.332 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001086/0.3195, allocations: 0.6376 MB / 0.5387 GB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007686/0.3203, allocations: 0.75 MB / 0.5395 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002079/0.3205, allocations: 148.9 kB / 0.5396 GB, free: 1.297 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003009/0.3208, allocations: 289.3 kB / 0.5399 GB, free: 1.121 MB / 398.1 MB Notification: Performance of Backend: time 4.31e-07/0.3208, allocations: 0 / 0.5399 GB, free: 1.121 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001225/0.322, allocations: 0.6092 MB / 0.5405 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of SimCode: time 0.001995/0.324, allocations: 1.677 MB / 0.5421 GB, free: 15.4 MB / 414.1 MB Notification: Performance of Templates: time 0.01165/0.3357, allocations: 6.238 MB / 0.5482 GB, free: 11.15 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.makefile (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)