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.0006831/0.0006831, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009213/0.001604, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006854/0.0006854, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009129/0.001598, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9109/0.9109, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08338/0.9943, allocations: 53.65 MB / 243.4 MB, free: 15.51 MB / 250.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.1537/0.1537, allocations: 29.43 MB / 273.6 MB, free: 1.348 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1048/0.2584, allocations: 9.531 MB / 283.1 MB, free: 12.82 MB / 282.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.172e-06/1.172e-06, allocations: 0 / 284.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.596e-06/9.768e-06, allocations: 7.344 kB / 284.4 MB, free: 11.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed): time 0.004762/0.004771, allocations: 6.072 MB / 290.5 MB, free: 7.121 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002517/0.007288, allocations: 2.677 MB / 293.2 MB, free: 5.039 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000231/0.007519, allocations: 38.94 kB / 293.2 MB, free: 5.02 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005401/0.008059, allocations: 294.9 kB / 293.5 MB, free: 4.797 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007005/0.00876, allocations: 0.6084 MB / 294.1 MB, free: 4.328 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003448/0.009105, allocations: 300.9 kB / 294.4 MB, free: 4.086 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008779/0.009983, allocations: 1.23 MB / 295.6 MB, free: 3.395 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006006/0.01058, allocations: 0.7768 MB / 296.4 MB, free: 2.668 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005129/0.0111, allocations: 0.6829 MB / 297.1 MB, free: 1.984 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004406/0.01154, allocations: 494.7 kB / 297.6 MB, free: 1.5 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.999e-05/0.01162, allocations: 87.94 kB / 297.7 MB, free: 1.414 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003701/0.01199, allocations: 351.4 kB / 298 MB, free: 1.07 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002037/0.01219, allocations: 315.2 kB / 298.3 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002103/0.0124, allocations: 263.5 kB / 298.6 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006496/0.01305, allocations: 0.8647 MB / 299.4 MB, free: 15.63 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.016e-05/0.01306, allocations: 0 / 299.4 MB, free: 15.63 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.01306, allocations: 0 / 299.4 MB, free: 15.63 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.01307, allocations: 0 / 299.4 MB, free: 15.63 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.00117/0.01424, allocations: 1.203 MB / 300.6 MB, free: 14.4 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.586e-05/0.01427, allocations: 8.031 kB / 300.6 MB, free: 14.39 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004568/0.01472, allocations: 249.9 kB / 300.9 MB, free: 14.13 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005596/0.01528, allocations: 0.5244 MB / 301.4 MB, free: 13.58 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.61e-05/0.01535, allocations: 109.3 kB / 301.5 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.758e-05/0.01542, allocations: 67.98 kB / 301.6 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000538/0.01596, allocations: 0.5893 MB / 302.2 MB, free: 12.76 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.01598, allocations: 7.938 kB / 302.2 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.839e-05/0.01601, allocations: 28 kB / 302.2 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.757e-05/0.01607, allocations: 53.28 kB / 302.3 MB, free: 12.67 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002968/0.01637, allocations: 234.2 kB / 302.5 MB, free: 12.44 MB / 298.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.002096/0.01846, allocations: 2.764 MB / 305.3 MB, free: 9.52 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002739/0.01874, allocations: 284 kB / 305.5 MB, free: 9.211 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.01886, allocations: 99.17 kB / 305.6 MB, free: 9.105 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.01888, allocations: 8.594 kB / 305.6 MB, free: 9.098 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.0189, allocations: 46.48 kB / 305.7 MB, free: 9.043 MB / 298.7 MB Notification: Performance of pre-optimization done (n=37): time 1.483e-06/0.0189, allocations: 0 / 305.7 MB, free: 9.043 MB / 298.7 MB Notification: Performance of matching and sorting (n=38): time 0.00193/0.02083, allocations: 1.083 MB / 306.8 MB, free: 7.918 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.02087, allocations: 114.7 kB / 306.9 MB, free: 7.781 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002246/0.02109, allocations: 407 kB / 307.3 MB, free: 7.375 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.02112, allocations: 33.7 kB / 307.3 MB, free: 7.336 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.02125, allocations: 372.9 kB / 307.7 MB, free: 6.961 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.812e-05/0.02132, allocations: 142.8 kB / 307.8 MB, free: 6.82 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.251e-05/0.02141, allocations: 106.2 kB / 307.9 MB, free: 6.711 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.772e-05/0.0215, allocations: 362.7 kB / 308.3 MB, free: 6.348 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.386e-05/0.02156, allocations: 49.28 kB / 308.3 MB, free: 6.297 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/0.02172, allocations: 273.9 kB / 308.6 MB, free: 5.934 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002922/0.02201, allocations: 429.2 kB / 309 MB, free: 5.414 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.02201, allocations: 0 / 309 MB, free: 5.414 MB / 298.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000606/0.02262, allocations: 476.2 kB / 309.5 MB, free: 4.934 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.02263, allocations: 8 kB / 309.5 MB, free: 4.926 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/0.02264, allocations: 15.92 kB / 309.5 MB, free: 4.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005565/0.0232, allocations: 231.2 kB / 309.7 MB, free: 4.676 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002254/0.02343, allocations: 123.8 kB / 309.8 MB, free: 4.555 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001888/0.02531, allocations: 2.92 MB / 312.8 MB, free: 1.438 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001618/0.02547, allocations: 27.95 kB / 312.8 MB, free: 1.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.174e-05/0.0255, allocations: 20 kB / 312.8 MB, free: 1.391 MB / 298.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.0001245/0.02562, allocations: 164.4 kB / 313 MB, free: 1.219 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.794e-05/0.02568, allocations: 35.97 kB / 313 MB, free: 1.184 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005361/0.02622, allocations: 375.7 kB / 313.4 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.02622, allocations: 4 kB / 313.4 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.02622, allocations: 0 / 313.4 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.02623, allocations: 7.984 kB / 313.4 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008942/0.02712, allocations: 0.7575 MB / 314.1 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.02712, allocations: 0 / 314.1 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.02728, allocations: 55.91 kB / 314.2 MB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.085e-05/0.02736, allocations: 67.64 kB / 314.3 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005065/0.02787, allocations: 232.7 kB / 314.5 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.02788, allocations: 8 kB / 314.5 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001829/0.02971, allocations: 3.006 MB / 317.5 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.02971, allocations: 0 / 317.5 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006445/0.03036, allocations: 0.6355 MB / 318.1 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.647e-05/0.03039, allocations: 16 kB / 318.2 MB, free: 11.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.03052, allocations: 8 kB / 318.2 MB, free: 11.74 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.528e-05/0.03058, allocations: 43.86 kB / 318.2 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.0306, allocations: 11.98 kB / 318.2 MB, free: 11.69 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000113/0.03071, allocations: 160.7 kB / 318.4 MB, free: 11.53 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03071, allocations: 0 / 318.4 MB, free: 11.53 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004273/0.03114, allocations: 207.9 kB / 318.6 MB, free: 11.32 MB / 314.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.0001999/0.03134, allocations: 120.6 kB / 318.7 MB, free: 11.2 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005158/0.03185, allocations: 0.5576 MB / 319.2 MB, free: 10.62 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.67e-05/0.03187, allocations: 10.16 kB / 319.3 MB, free: 10.61 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000364/0.03223, allocations: 470.3 kB / 319.7 MB, free: 10.12 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006974/0.03293, allocations: 1.131 MB / 320.8 MB, free: 8.785 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00892/0.04185, allocations: 1.244 MB / 322.1 MB, free: 7.496 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001526/0.042, allocations: 206 kB / 322.3 MB, free: 7.273 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001717/0.04218, allocations: 72.81 kB / 322.4 MB, free: 7.203 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001902/0.04237, allocations: 149.3 kB / 322.5 MB, free: 7.059 MB / 314.7 MB Notification: Performance of SimCode: time 5.61e-07/0.04237, allocations: 4 kB / 322.5 MB, free: 7.055 MB / 314.7 MB Notification: Performance of Templates: time 0.01174/0.0541, allocations: 10.21 MB / 332.7 MB, free: 13.02 MB / 330.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: 2.7720611207187176]