Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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="mat",numberOfIntervals=5000,variableFilter="Time|efficiency.eta|machine.motor.tau_el|machine.motor.w_el",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|efficiency.eta|machine.motor.tau_el|machine.motor.w_el",fileNamePrefix="PowerSystems_latest_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.00158/0.00158, allocations: 110.2 kB / 17.74 MB, free: 5.336 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.001768/0.001768, allocations: 185.4 kB / 18.67 MB, free: 4.418 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.364/1.364, allocations: 222.9 MB / 242.4 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1696/0.1696, allocations: 38.05 MB / 330.6 MB, free: 8.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 55.91 kB / 458.8 MB, free: 6.871 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.3002, allocations: 58.06 MB / 0.5048 GB, free: 7.727 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed): time 0.006195/0.3064, allocations: 6.327 MB / 0.511 GB, free: 3.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003338/0.3098, allocations: 2.667 MB / 0.5136 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004238/0.3102, allocations: 30.38 kB / 0.5136 GB, free: 1.449 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009678/0.3112, allocations: 334 kB / 0.5139 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001092/0.3123, allocations: 0.5848 MB / 0.5145 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005927/0.3129, allocations: 287.8 kB / 0.5147 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001157/0.3141, allocations: 1.201 MB / 0.5159 GB, free: 240 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001081/0.3152, allocations: 0.8827 MB / 0.5168 GB, free: 15.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006428/0.3159, allocations: 494.1 kB / 0.5173 GB, free: 15.62 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007742/0.3166, allocations: 0.5301 MB / 0.5178 GB, free: 15.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001844/0.3168, allocations: 86.09 kB / 0.5179 GB, free: 15.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006364/0.3175, allocations: 335.8 kB / 0.5182 GB, free: 15.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000438/0.3179, allocations: 340 kB / 0.5185 GB, free: 15.17 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004668/0.3184, allocations: 455.8 kB / 0.5189 GB, free: 14.89 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001442/0.3199, allocations: 1.374 MB / 0.5203 GB, free: 14.42 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3199, allocations: 0 / 0.5203 GB, free: 14.42 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3199, allocations: 3.938 kB / 0.5203 GB, free: 14.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.3199, allocations: 0 / 0.5203 GB, free: 14.41 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.002216/0.3221, allocations: 1.141 MB / 0.5214 GB, free: 13.65 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.3222, allocations: 12.69 kB / 0.5214 GB, free: 13.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006412/0.3228, allocations: 131.6 kB / 0.5215 GB, free: 13.6 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001254/0.3241, allocations: 0.6902 MB / 0.5222 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/0.3242, allocations: 90.28 kB / 0.5223 GB, free: 13.1 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.3243, allocations: 67.31 kB / 0.5224 GB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/0.3258, allocations: 0.9548 MB / 0.5233 GB, free: 12.62 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/0.3258, allocations: 2.75 kB / 0.5233 GB, free: 12.62 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.069e-05/0.3259, allocations: 26.88 kB / 0.5233 GB, free: 12.6 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.762e-05/0.326, allocations: 54.44 kB / 0.5234 GB, free: 12.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001276/0.3273, allocations: 0.7821 MB / 0.5241 GB, free: 12.31 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.00485/0.3322, allocations: 3.829 MB / 0.5279 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007847/0.3329, allocations: 0.5173 MB / 0.5284 GB, free: 9.297 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004224/0.3334, allocations: 238 kB / 0.5286 GB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.187e-05/0.3334, allocations: 9.281 kB / 0.5286 GB, free: 9.191 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.3335, allocations: 40.81 kB / 0.5287 GB, free: 9.145 MB / 398.1 MB Notification: Performance of pre-optimization done (n=37): time 1.964e-06/0.3335, allocations: 1.062 kB / 0.5287 GB, free: 9.145 MB / 398.1 MB Notification: Performance of matching and sorting (n=55): time 0.01086/0.3443, allocations: 3.745 MB / 0.5323 GB, free: 6.863 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/0.3444, allocations: 121 kB / 0.5324 GB, free: 6.727 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006526/0.3451, allocations: 0.5251 MB / 0.5329 GB, free: 6.41 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.567e-05/0.3451, allocations: 35.2 kB / 0.533 GB, free: 6.371 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002563/0.3454, allocations: 399.9 kB / 0.5334 GB, free: 6.016 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/0.3455, allocations: 193.4 kB / 0.5335 GB, free: 5.848 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002/0.3458, allocations: 131.1 kB / 0.5337 GB, free: 5.762 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.3459, allocations: 370.1 kB / 0.534 GB, free: 5.406 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004627/0.3464, allocations: 280.8 kB / 0.5343 GB, free: 5.266 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006235/0.347, allocations: 0.5022 MB / 0.5348 GB, free: 4.816 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/0.3482, allocations: 0.8478 MB / 0.5356 GB, free: 4.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.3482, allocations: 2.188 kB / 0.5356 GB, free: 4.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003357/0.3516, allocations: 1.444 MB / 0.537 GB, free: 3.262 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.3516, allocations: 8.25 kB / 0.537 GB, free: 3.262 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.3516, allocations: 10.91 kB / 0.537 GB, free: 3.258 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001559/0.3532, allocations: 464.5 kB / 0.5375 GB, free: 3.008 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004408/0.3536, allocations: 114.2 kB / 0.5376 GB, free: 2.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01045/0.3641, allocations: 9.133 MB / 0.5465 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005766/0.3647, allocations: 31.19 kB / 0.5465 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.591e-05/0.3648, allocations: 32.73 kB / 0.5466 GB, free: 11.01 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.0004762/0.3652, allocations: 307.8 kB / 0.5469 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001629/0.3654, allocations: 61.5 kB / 0.5469 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003215/0.3686, allocations: 1.299 MB / 0.5482 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.49e-05/0.3687, allocations: 9.109 kB / 0.5482 GB, free: 9.848 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.3687, allocations: 0.5312 kB / 0.5482 GB, free: 9.848 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004521/0.3691, allocations: 198.5 kB / 0.5484 GB, free: 9.672 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001603/0.3693, allocations: 14.66 kB / 0.5484 GB, free: 9.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000494/0.3698, allocations: 20.61 kB / 0.5484 GB, free: 9.648 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001931/0.37, allocations: 64.17 kB / 0.5485 GB, free: 9.613 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003096/0.3731, allocations: 1.35 MB / 0.5498 GB, free: 8.773 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001745/0.3749, allocations: 1.343 MB / 0.5511 GB, free: 7.582 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004799/0.3754, allocations: 324.3 kB / 0.5514 GB, free: 7.266 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004506/0.3758, allocations: 370.8 kB / 0.5518 GB, free: 6.906 MB / 414.1 MB Notification: Performance of Backend: time 3.61e-07/0.3758, allocations: 3.938 kB / 0.5518 GB, free: 6.902 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00253/0.3784, allocations: 1.231 MB / 0.553 GB, free: 5.617 MB / 414.1 MB Notification: Performance of SimCode: time 0.003242/0.3816, allocations: 2.274 MB / 0.5552 GB, free: 3.305 MB / 414.1 MB Notification: Performance of Templates: time 0.02274/0.4044, allocations: 14.05 MB / 0.5689 GB, free: 5.363 MB / 430.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.pipe 2>&1)