Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.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.AC1ph_DC.Drives.BLDCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 102.5 kB / 17.74 MB, free: 5.32 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.001038/0.001038, allocations: 197.2 kB / 18.67 MB, free: 4.395 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.329/1.329, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1829/0.1829, allocations: 38.03 MB / 330.6 MB, free: 8.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 59.91 kB / 458.8 MB, free: 6.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2782, allocations: 58.05 MB / 0.5048 GB, free: 7.789 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed): time 0.006278/0.2845, allocations: 6.333 MB / 0.5109 GB, free: 3.398 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00327/0.2878, allocations: 2.666 MB / 0.5135 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003292/0.2882, allocations: 25.66 kB / 0.5136 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009633/0.2891, allocations: 334.8 kB / 0.5139 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00108/0.2902, allocations: 0.5867 MB / 0.5145 GB, free: 1.004 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005845/0.2908, allocations: 292.3 kB / 0.5147 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001166/0.292, allocations: 1.199 MB / 0.5159 GB, free: 300 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009496/0.293, allocations: 0.8904 MB / 0.5168 GB, free: 15.88 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006358/0.2936, allocations: 494.5 kB / 0.5172 GB, free: 15.67 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007571/0.2944, allocations: 0.5342 MB / 0.5178 GB, free: 15.44 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001492/0.2945, allocations: 90.36 kB / 0.5179 GB, free: 15.44 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006258/0.2952, allocations: 326.8 kB / 0.5182 GB, free: 15.37 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003897/0.2956, allocations: 336.4 kB / 0.5185 GB, free: 15.22 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004851/0.2961, allocations: 461 kB / 0.5189 GB, free: 14.94 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001442/0.2975, allocations: 1.376 MB / 0.5203 GB, free: 14.46 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2975, allocations: 1.281 kB / 0.5203 GB, free: 14.46 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2976, allocations: 0 / 0.5203 GB, free: 14.46 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.2976, allocations: 0 / 0.5203 GB, free: 14.46 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: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.002167/0.2997, allocations: 1.145 MB / 0.5214 GB, free: 13.7 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.2998, allocations: 12.64 kB / 0.5214 GB, free: 13.69 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000655/0.3004, allocations: 131.7 kB / 0.5215 GB, free: 13.65 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001249/0.3017, allocations: 0.6932 MB / 0.5222 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.3018, allocations: 81.98 kB / 0.5223 GB, free: 13.15 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.3019, allocations: 69.08 kB / 0.5224 GB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001835/0.3038, allocations: 0.9544 MB / 0.5233 GB, free: 12.67 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.153e-05/0.3038, allocations: 7.125 kB / 0.5233 GB, free: 12.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.116e-05/0.3039, allocations: 26.19 kB / 0.5233 GB, free: 12.64 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001253/0.3041, allocations: 57.16 kB / 0.5234 GB, free: 12.64 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001508/0.3056, allocations: 0.7761 MB / 0.5241 GB, free: 12.36 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005107/0.3107, allocations: 3.836 MB / 0.5279 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000836/0.3115, allocations: 0.5189 MB / 0.5284 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004235/0.312, allocations: 233 kB / 0.5286 GB, free: 9.242 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.179e-05/0.312, allocations: 12.55 kB / 0.5286 GB, free: 9.234 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.3121, allocations: 34.02 kB / 0.5286 GB, free: 9.195 MB / 398.1 MB Notification: Performance of pre-optimization done (n=37): time 2.244e-06/0.3121, allocations: 0 / 0.5286 GB, free: 9.195 MB / 398.1 MB Notification: Performance of matching and sorting (n=55): time 0.01078/0.3229, allocations: 3.757 MB / 0.5323 GB, free: 6.918 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.337e-05/0.3229, allocations: 113 kB / 0.5324 GB, free: 6.789 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006362/0.3236, allocations: 0.5235 MB / 0.5329 GB, free: 6.473 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.806e-05/0.3236, allocations: 31.98 kB / 0.533 GB, free: 6.438 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002608/0.3239, allocations: 404.2 kB / 0.5334 GB, free: 6.078 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/0.3241, allocations: 188.9 kB / 0.5335 GB, free: 5.914 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002151/0.3243, allocations: 131.7 kB / 0.5337 GB, free: 5.828 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.3244, allocations: 369.9 kB / 0.534 GB, free: 5.473 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004821/0.3249, allocations: 285.5 kB / 0.5343 GB, free: 5.328 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006249/0.3256, allocations: 0.5014 MB / 0.5348 GB, free: 4.879 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/0.3267, allocations: 0.8438 MB / 0.5356 GB, free: 4.246 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.3267, allocations: 6.969 kB / 0.5356 GB, free: 4.242 MB / 398.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003329/0.3301, allocations: 1.451 MB / 0.537 GB, free: 3.316 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.3301, allocations: 8.656 kB / 0.537 GB, free: 3.316 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.3301, allocations: 6.719 kB / 0.537 GB, free: 3.316 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001567/0.3317, allocations: 453 kB / 0.5375 GB, free: 3.078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004421/0.3322, allocations: 113.2 kB / 0.5376 GB, free: 3.051 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01043/0.3426, allocations: 9.137 MB / 0.5465 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000617/0.3432, allocations: 30.56 kB / 0.5465 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-05/0.3433, allocations: 32.67 kB / 0.5466 GB, free: 11.08 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (61): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (2,9,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0004561/0.3438, allocations: 309.3 kB / 0.5469 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/0.3439, allocations: 63.61 kB / 0.5469 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003111/0.347, allocations: 1.303 MB / 0.5482 GB, free: 9.918 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.3471, allocations: 5.328 kB / 0.5482 GB, free: 9.914 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3471, allocations: 5.406 kB / 0.5482 GB, free: 9.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003136/0.3474, allocations: 200.9 kB / 0.5484 GB, free: 9.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.3475, allocations: 11.44 kB / 0.5484 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004151/0.3479, allocations: 20.2 kB / 0.5484 GB, free: 9.711 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000144/0.3481, allocations: 64.27 kB / 0.5485 GB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003083/0.3512, allocations: 1.343 MB / 0.5498 GB, free: 8.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001783/0.353, allocations: 1.344 MB / 0.5511 GB, free: 7.559 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004942/0.3535, allocations: 320.3 kB / 0.5514 GB, free: 7.246 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004522/0.3539, allocations: 370.8 kB / 0.5518 GB, free: 6.887 MB / 414.1 MB Notification: Performance of Backend: time 4.61e-07/0.3539, allocations: 7.938 kB / 0.5518 GB, free: 6.879 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002575/0.3565, allocations: 1.227 MB / 0.553 GB, free: 5.598 MB / 414.1 MB Notification: Performance of SimCode: time 0.003364/0.3599, allocations: 2.272 MB / 0.5552 GB, free: 3.289 MB / 414.1 MB Notification: Performance of Templates: time 0.02307/0.383, allocations: 14.06 MB / 0.5689 GB, free: 5.328 MB / 430.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.pipe 2>&1)