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.001364/0.001364, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001006/0.001006, allocations: 161.3 kB / 24.99 MB, free: 9.273 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.045/1.045, allocations: 177.1 MB / 205.3 MB, free: 5.633 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.2235/0.2235, allocations: 29.42 MB / 291.2 MB, free: 2.496 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.423e-06/1.423e-06, allocations: 0 / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.58e-05/1.722e-05, allocations: 2.312 kB / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed): time 0.006024/0.006041, allocations: 6.485 MB / 376.1 MB, free: 4.793 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00292/0.008961, allocations: 2.621 MB / 378.7 MB, free: 2.164 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002824/0.009243, allocations: 39.69 kB / 378.8 MB, free: 2.125 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007757/0.01002, allocations: 322 kB / 379.1 MB, free: 1.809 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007525/0.01077, allocations: 0.6176 MB / 379.7 MB, free: 1.188 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003434/0.01111, allocations: 303.2 kB / 380 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009343/0.01205, allocations: 1.231 MB / 381.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006459/0.01269, allocations: 0.7909 MB / 382 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005483/0.01324, allocations: 0.6781 MB / 382.7 MB, free: 14.19 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004857/0.01373, allocations: 0.4987 MB / 383.2 MB, free: 13.69 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.212e-05/0.01381, allocations: 88 kB / 383.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003414/0.01415, allocations: 351.4 kB / 383.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002218/0.01437, allocations: 363.1 kB / 384 MB, free: 12.9 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002285/0.0146, allocations: 315.3 kB / 384.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007887/0.01539, allocations: 0.9346 MB / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.01539, allocations: 3.938 kB / 385.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.01539, allocations: 0 / 385.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.176e-06/0.0154, allocations: 0 / 385.2 MB, free: 11.65 MB / 362.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.001302/0.0167, allocations: 1.192 MB / 386.4 MB, free: 10.42 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.01674, allocations: 15.98 kB / 386.4 MB, free: 10.4 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004846/0.01723, allocations: 208.2 kB / 386.6 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007132/0.01794, allocations: 0.652 MB / 387.3 MB, free: 9.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.076e-05/0.01802, allocations: 102 kB / 387.4 MB, free: 9.406 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.92e-05/0.0181, allocations: 72.11 kB / 387.5 MB, free: 9.336 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007594/0.01886, allocations: 0.6589 MB / 388.1 MB, free: 8.621 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.81e-05/0.01889, allocations: 7.984 kB / 388.1 MB, free: 8.613 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.14e-05/0.01895, allocations: 24 kB / 388.1 MB, free: 8.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.435e-05/0.01902, allocations: 53.3 kB / 388.2 MB, free: 8.535 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005512/0.01957, allocations: 347.4 kB / 388.5 MB, free: 8.195 MB / 362.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.002757/0.02233, allocations: 3.585 MB / 392.1 MB, free: 4.434 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004/0.02273, allocations: 319.7 kB / 392.4 MB, free: 4.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001974/0.02293, allocations: 131.1 kB / 392.6 MB, free: 3.949 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.02295, allocations: 11.94 kB / 392.6 MB, free: 3.938 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.02298, allocations: 45.33 kB / 392.6 MB, free: 3.883 MB / 362.7 MB Notification: Performance of pre-optimization done (n=37): time 1.533e-06/0.02298, allocations: 0 / 392.6 MB, free: 3.883 MB / 362.7 MB Notification: Performance of matching and sorting (n=55): time 0.004578/0.02756, allocations: 2.397 MB / 395 MB, free: 1.406 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.02761, allocations: 111.3 kB / 395.1 MB, free: 1.273 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003651/0.02798, allocations: 494.4 kB / 395.6 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/0.02801, allocations: 41.73 kB / 395.6 MB, free: 0.7227 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/0.0282, allocations: 462.6 kB / 396.1 MB, free: 268 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.0283, allocations: 194.3 kB / 396.3 MB, free: 72 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/0.02844, allocations: 140.2 kB / 396.4 MB, free: 15.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.0286, allocations: 0.5546 MB / 397 MB, free: 15.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/0.02878, allocations: 117.9 kB / 397.1 MB, free: 15.24 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003117/0.02909, allocations: 448.9 kB / 397.5 MB, free: 14.67 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005558/0.02965, allocations: 0.6125 MB / 398.1 MB, free: 13.92 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.02965, allocations: 0 / 398.1 MB, free: 13.92 MB / 378.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00152/0.03117, allocations: 0.8974 MB / 399 MB, free: 13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.03119, allocations: 14.95 kB / 399.1 MB, free: 12.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.0312, allocations: 8 kB / 399.1 MB, free: 12.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001194/0.0324, allocations: 482.4 kB / 399.5 MB, free: 12.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/0.03262, allocations: 115.8 kB / 399.6 MB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005294/0.03792, allocations: 8.339 MB / 408 MB, free: 3.543 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002358/0.03815, allocations: 31.98 kB / 408 MB, free: 3.512 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.292e-05/0.03819, allocations: 28 kB / 408 MB, free: 3.484 MB / 378.7 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%), (3,8,88.9%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001807/0.03837, allocations: 204.3 kB / 408.2 MB, free: 3.273 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.215e-05/0.03846, allocations: 75.61 kB / 408.3 MB, free: 3.199 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001355/0.03981, allocations: 0.7551 MB / 409.1 MB, free: 2.422 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.03982, allocations: 11.92 kB / 409.1 MB, free: 2.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.03982, allocations: 4 kB / 409.1 MB, free: 2.406 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.03983, allocations: 4 kB / 409.1 MB, free: 2.402 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002019/0.04185, allocations: 1.471 MB / 410.6 MB, free: 0.8633 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.04185, allocations: 3.938 kB / 410.6 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/0.04201, allocations: 64 kB / 410.6 MB, free: 0.7969 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001067/0.04308, allocations: 462.3 kB / 411.1 MB, free: 336 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.738e-05/0.04311, allocations: 12 kB / 411.1 MB, free: 324 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008299/0.05141, allocations: 8.292 MB / 419.4 MB, free: 7.52 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.05141, allocations: 7.938 kB / 419.4 MB, free: 7.512 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001662/0.05307, allocations: 1.168 MB / 420.6 MB, free: 6.293 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001452/0.05322, allocations: 107.7 kB / 420.7 MB, free: 6.188 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.596e-05/0.05326, allocations: 19.94 kB / 420.7 MB, free: 6.168 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.05345, allocations: 19.98 kB / 420.7 MB, free: 6.148 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.05358, allocations: 64.27 kB / 420.8 MB, free: 6.086 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.342e-05/0.05361, allocations: 16 kB / 420.8 MB, free: 6.07 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002232/0.05383, allocations: 303 kB / 421.1 MB, free: 5.773 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05383, allocations: 0 / 421.1 MB, free: 5.773 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006833/0.05451, allocations: 251.9 kB / 421.3 MB, free: 5.527 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (machine.rotor.w,machine.motor.phi_el) * 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 (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(3,8,88.9%), (1,3,100.0%), (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.0002485/0.05476, allocations: 138.8 kB / 421.5 MB, free: 5.387 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001303/0.05606, allocations: 1.284 MB / 422.7 MB, free: 4.031 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.05607, allocations: 0 / 422.7 MB, free: 4.031 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008499/0.05692, allocations: 1.088 MB / 423.8 MB, free: 2.867 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005226/0.05744, allocations: 141.6 kB / 424 MB, free: 2.734 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002151/0.05959, allocations: 1.459 MB / 425.4 MB, free: 1.219 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001983/0.05979, allocations: 239.5 kB / 425.7 MB, free: 0.9648 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001994/0.05999, allocations: 97.17 kB / 425.8 MB, free: 0.8672 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.248e-05/0.06006, allocations: 44.48 kB / 425.8 MB, free: 0.8242 MB / 394.7 MB Notification: Performance of SimCode: time 9.41e-07/0.06006, allocations: 3.938 kB / 425.8 MB, free: 0.8203 MB / 394.7 MB Notification: Performance of Templates: time 0.01498/0.07504, allocations: 14.03 MB / 439.8 MB, free: 2.922 MB / 410.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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.608938619028777]