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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 167.3 kB / 24.91 MB, free: 9.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.014/1.014, allocations: 177.1 MB / 205.3 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2586/0.2586, allocations: 29.42 MB / 291.2 MB, free: 2.473 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 316.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.178e-05/2.348e-05, allocations: 2.312 kB / 316.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed): time 0.006726/0.006749, allocations: 6.002 MB / 322.9 MB, free: 9.949 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004114/0.01086, allocations: 2.662 MB / 325.5 MB, free: 7.281 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005862/0.01145, allocations: 39.69 kB / 325.6 MB, free: 7.242 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000913/0.01236, allocations: 282.1 kB / 325.9 MB, free: 6.965 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001212/0.01357, allocations: 0.602 MB / 326.5 MB, free: 6.359 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005962/0.01417, allocations: 307.3 kB / 326.8 MB, free: 6.059 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001257/0.01543, allocations: 1.23 MB / 328 MB, free: 4.824 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007516/0.01618, allocations: 0.797 MB / 328.8 MB, free: 4.02 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007364/0.01692, allocations: 0.6743 MB / 329.5 MB, free: 3.344 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005398/0.01746, allocations: 482.7 kB / 329.9 MB, free: 2.871 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.418e-05/0.01754, allocations: 84 kB / 330 MB, free: 2.789 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004926/0.01803, allocations: 363.4 kB / 330.4 MB, free: 2.434 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002324/0.01827, allocations: 351.1 kB / 330.7 MB, free: 2.09 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002559/0.01852, allocations: 315.3 kB / 331 MB, free: 1.781 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001235/0.01976, allocations: 0.9308 MB / 331.9 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.01976, allocations: 7.922 kB / 332 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.01976, allocations: 0 / 332 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.01977, allocations: 4 kB / 332 MB, free: 0.832 MB / 298.7 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.001137/0.02091, allocations: 1.024 MB / 333 MB, free: 15.78 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.02094, allocations: 15.98 kB / 333 MB, free: 15.77 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004361/0.02138, allocations: 172.8 kB / 333.2 MB, free: 15.6 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006207/0.022, allocations: 0.5244 MB / 333.7 MB, free: 15.04 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.441e-05/0.02207, allocations: 102 kB / 333.8 MB, free: 14.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.263e-05/0.02215, allocations: 72.11 kB / 333.9 MB, free: 14.86 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006226/0.02277, allocations: 0.5815 MB / 334.4 MB, free: 14.23 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.02279, allocations: 4 kB / 334.4 MB, free: 14.23 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.154e-05/0.02283, allocations: 31.98 kB / 334.5 MB, free: 14.2 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-05/0.0229, allocations: 61.22 kB / 334.5 MB, free: 14.14 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003312/0.02323, allocations: 230.2 kB / 334.8 MB, free: 13.91 MB / 314.7 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.002587/0.02582, allocations: 2.772 MB / 337.5 MB, free: 10.99 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003561/0.02618, allocations: 283.8 kB / 337.8 MB, free: 10.68 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001392/0.02632, allocations: 95.2 kB / 337.9 MB, free: 10.58 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.687e-05/0.02634, allocations: 8.594 kB / 337.9 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.02638, allocations: 42.5 kB / 338 MB, free: 10.52 MB / 314.7 MB Notification: Performance of pre-optimization done (n=37): time 2.525e-06/0.02638, allocations: 3.938 kB / 338 MB, free: 10.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=38): time 0.002867/0.02925, allocations: 1.083 MB / 339 MB, free: 9.395 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.0293, allocations: 110.8 kB / 339.1 MB, free: 9.262 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002928/0.02959, allocations: 399 kB / 339.5 MB, free: 8.855 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.02961, allocations: 37.7 kB / 339.6 MB, free: 8.812 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/0.02977, allocations: 368.8 kB / 339.9 MB, free: 8.449 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.917e-05/0.02985, allocations: 142.8 kB / 340.1 MB, free: 8.309 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.02996, allocations: 110.2 kB / 340.2 MB, free: 8.195 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.03007, allocations: 362.7 kB / 340.5 MB, free: 7.832 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.301e-05/0.03014, allocations: 53.31 kB / 340.6 MB, free: 7.777 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001952/0.03034, allocations: 270 kB / 340.9 MB, free: 7.418 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003374/0.03067, allocations: 385.5 kB / 341.2 MB, free: 6.941 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.03068, allocations: 4 kB / 341.2 MB, free: 6.938 MB / 314.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007314/0.03141, allocations: 483.9 kB / 341.7 MB, free: 6.449 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.03143, allocations: 8 kB / 341.7 MB, free: 6.441 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.03144, allocations: 4 kB / 341.7 MB, free: 6.438 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006382/0.03208, allocations: 230.2 kB / 341.9 MB, free: 6.203 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000243/0.03232, allocations: 119.8 kB / 342.1 MB, free: 6.086 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002244/0.03457, allocations: 2.934 MB / 345 MB, free: 2.953 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005551/0.03512, allocations: 23.95 kB / 345 MB, free: 2.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.481e-05/0.03516, allocations: 24 kB / 345 MB, free: 2.906 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (57): * Single equations (assignments): 55 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002296/0.03539, allocations: 152.4 kB / 345.2 MB, free: 2.746 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.03549, allocations: 47.95 kB / 345.2 MB, free: 2.699 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009366/0.03642, allocations: 371.1 kB / 345.6 MB, free: 2.324 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.297e-06/0.03643, allocations: 8 kB / 345.6 MB, free: 2.316 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.03644, allocations: 0 / 345.6 MB, free: 2.316 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.03645, allocations: 3.984 kB / 345.6 MB, free: 2.312 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001468/0.03792, allocations: 0.7614 MB / 346.4 MB, free: 1.516 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.03792, allocations: 0 / 346.4 MB, free: 1.516 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002222/0.03814, allocations: 59.94 kB / 346.4 MB, free: 1.457 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006326/0.03878, allocations: 220.9 kB / 346.6 MB, free: 1.234 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.64e-05/0.0388, allocations: 7.984 kB / 346.7 MB, free: 1.227 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002425/0.04123, allocations: 3.005 MB / 349.7 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.04123, allocations: 0 / 349.7 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008587/0.04209, allocations: 0.624 MB / 350.3 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001619/0.04225, allocations: 63.64 kB / 350.3 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.055e-05/0.0423, allocations: 12 kB / 350.4 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.04246, allocations: 12.03 kB / 350.4 MB, free: 13.28 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.04256, allocations: 35.92 kB / 350.4 MB, free: 13.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.832e-05/0.04258, allocations: 15.98 kB / 350.4 MB, free: 13.23 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001632/0.04274, allocations: 160.7 kB / 350.6 MB, free: 13.07 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04274, allocations: 0 / 350.6 MB, free: 13.07 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000647/0.04339, allocations: 203.9 kB / 350.8 MB, free: 12.87 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (machine.rotor.phi,machine.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 (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002541/0.04364, allocations: 118.6 kB / 350.9 MB, free: 12.75 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007066/0.04435, allocations: 0.5669 MB / 351.5 MB, free: 12.16 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.076e-05/0.04436, allocations: 4 kB / 351.5 MB, free: 12.15 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003781/0.04474, allocations: 453.2 kB / 351.9 MB, free: 11.68 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005419/0.04528, allocations: 154.4 kB / 352.1 MB, free: 11.54 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002469/0.04775, allocations: 1.23 MB / 353.3 MB, free: 10.27 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001619/0.04791, allocations: 202 kB / 353.5 MB, free: 10.05 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001982/0.04811, allocations: 68.81 kB / 353.5 MB, free: 9.98 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002238/0.04833, allocations: 145.3 kB / 353.7 MB, free: 9.836 MB / 330.7 MB Notification: Performance of SimCode: time 1.352e-06/0.04833, allocations: 4 kB / 353.7 MB, free: 9.832 MB / 330.7 MB Notification: Performance of Templates: time 0.0138/0.06213, allocations: 10.06 MB / 363.8 MB, free: 15.93 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.14398177806288]