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.0006383/0.0006383, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000932/0.00157, allocations: 449.7 kB / 10.37 MB, free: 328 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.0006958/0.0006958, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009157/0.001612, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.9364/0.9364, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07985/1.016, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.1263/0.1263, allocations: 29.42 MB / 273.4 MB, free: 1.449 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1488/0.2751, allocations: 9.52 MB / 282.9 MB, free: 12.86 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.532e-06/1.532e-06, allocations: 0 / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.724e-05/1.877e-05, allocations: 3.188 kB / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed): time 0.005458/0.005476, allocations: 6.039 MB / 290.3 MB, free: 7.23 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002753/0.008229, allocations: 2.685 MB / 292.9 MB, free: 5.141 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002664/0.008496, allocations: 38.94 kB / 293 MB, free: 5.121 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006079/0.009104, allocations: 294.9 kB / 293.3 MB, free: 4.898 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007778/0.009881, allocations: 0.612 MB / 293.9 MB, free: 4.426 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003659/0.01025, allocations: 304.7 kB / 294.2 MB, free: 4.18 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009327/0.01118, allocations: 1.225 MB / 295.4 MB, free: 3.492 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006358/0.01182, allocations: 0.769 MB / 296.2 MB, free: 2.812 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005239/0.01234, allocations: 0.6906 MB / 296.9 MB, free: 2.121 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004493/0.01279, allocations: 486.7 kB / 297.3 MB, free: 1.645 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.677e-05/0.01287, allocations: 84 kB / 297.4 MB, free: 1.562 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003604/0.01323, allocations: 355.4 kB / 297.8 MB, free: 1.215 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002178/0.01344, allocations: 311.2 kB / 298.1 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002311/0.01368, allocations: 267.5 kB / 298.3 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007556/0.01443, allocations: 0.8607 MB / 299.2 MB, free: 15.79 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.612e-05/0.01445, allocations: 0 / 299.2 MB, free: 15.79 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.01445, allocations: 0 / 299.2 MB, free: 15.79 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.799e-05/0.01447, allocations: 0 / 299.2 MB, free: 15.79 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.001329/0.01579, allocations: 1.211 MB / 300.4 MB, free: 14.54 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.01583, allocations: 8.031 kB / 300.4 MB, free: 14.54 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004681/0.0163, allocations: 249.9 kB / 300.7 MB, free: 14.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006212/0.01692, allocations: 0.5244 MB / 301.2 MB, free: 13.73 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.09e-05/0.017, allocations: 109.3 kB / 301.3 MB, free: 13.61 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.253e-05/0.01707, allocations: 63.98 kB / 301.3 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00061/0.01768, allocations: 0.5902 MB / 301.9 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/0.0177, allocations: 4 kB / 301.9 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.633e-05/0.01775, allocations: 27.98 kB / 302 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.718e-05/0.01782, allocations: 57.3 kB / 302 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003225/0.01814, allocations: 246.1 kB / 302.3 MB, free: 12.58 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.002339/0.02048, allocations: 2.757 MB / 305 MB, free: 9.668 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003166/0.0208, allocations: 274.4 kB / 305.3 MB, free: 9.371 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.02094, allocations: 113.2 kB / 305.4 MB, free: 9.254 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.964e-05/0.02097, allocations: 16.58 kB / 305.4 MB, free: 9.238 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.021, allocations: 34.56 kB / 305.4 MB, free: 9.195 MB / 298.7 MB Notification: Performance of pre-optimization done (n=37): time 1.933e-06/0.021, allocations: 0 / 305.4 MB, free: 9.195 MB / 298.7 MB Notification: Performance of matching and sorting (n=38): time 0.002126/0.02312, allocations: 1.071 MB / 306.5 MB, free: 8.082 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.02317, allocations: 118.8 kB / 306.6 MB, free: 7.941 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002274/0.02339, allocations: 399 kB / 307 MB, free: 7.543 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.02342, allocations: 37.7 kB / 307.1 MB, free: 7.5 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.02355, allocations: 368.8 kB / 307.4 MB, free: 7.129 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.78e-05/0.02362, allocations: 142.8 kB / 307.6 MB, free: 6.988 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.02372, allocations: 110.2 kB / 307.7 MB, free: 6.875 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.078e-05/0.02381, allocations: 362.7 kB / 308 MB, free: 6.512 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.427e-05/0.02388, allocations: 49.28 kB / 308.1 MB, free: 6.461 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001548/0.02403, allocations: 273.9 kB / 308.3 MB, free: 6.098 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000274/0.0243, allocations: 389.5 kB / 308.7 MB, free: 5.617 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.02431, allocations: 8 kB / 308.7 MB, free: 5.609 MB / 298.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0006223/0.02493, allocations: 470.6 kB / 309.2 MB, free: 5.137 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.02495, allocations: 12.09 kB / 309.2 MB, free: 5.125 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.02495, allocations: 11.94 kB / 309.2 MB, free: 5.113 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005515/0.02551, allocations: 232.8 kB / 309.4 MB, free: 4.879 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002374/0.02574, allocations: 123.8 kB / 309.6 MB, free: 4.758 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001981/0.02772, allocations: 2.93 MB / 312.5 MB, free: 1.633 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001602/0.02788, allocations: 23.95 kB / 312.5 MB, free: 1.609 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/0.02791, allocations: 24 kB / 312.5 MB, free: 1.586 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.000126/0.02803, allocations: 168.3 kB / 312.7 MB, free: 1.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.697e-05/0.02809, allocations: 35.97 kB / 312.7 MB, free: 1.375 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005445/0.02864, allocations: 363.8 kB / 313.1 MB, free: 1.004 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.02864, allocations: 8 kB / 313.1 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.02864, allocations: 3.938 kB / 313.1 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.02865, allocations: 7.984 kB / 313.1 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000913/0.02956, allocations: 0.7536 MB / 313.9 MB, free: 200 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.02956, allocations: 0 / 313.9 MB, free: 200 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/0.02972, allocations: 63.89 kB / 313.9 MB, free: 136 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.11e-05/0.0298, allocations: 63.64 kB / 314 MB, free: 72 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005135/0.03032, allocations: 229.4 kB / 314.2 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.03033, allocations: 12 kB / 314.2 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001868/0.0322, allocations: 3.007 MB / 317.2 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.0322, allocations: 0 / 317.2 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006355/0.03284, allocations: 0.6238 MB / 317.9 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.633e-05/0.03288, allocations: 12 kB / 317.9 MB, free: 11.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.033, allocations: 11.94 kB / 317.9 MB, free: 11.94 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.481e-05/0.03307, allocations: 43.86 kB / 317.9 MB, free: 11.9 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.03308, allocations: 11.98 kB / 317.9 MB, free: 11.89 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001135/0.0332, allocations: 160.7 kB / 318.1 MB, free: 11.73 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0332, allocations: 0 / 318.1 MB, free: 11.73 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004097/0.03361, allocations: 207.9 kB / 318.3 MB, free: 11.52 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.0001777/0.03378, allocations: 117.1 kB / 318.4 MB, free: 11.41 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005178/0.0343, allocations: 0.5611 MB / 319 MB, free: 10.82 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.434e-05/0.03431, allocations: 8 kB / 319 MB, free: 10.81 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003396/0.03465, allocations: 455.6 kB / 319.4 MB, free: 10.34 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004331/0.03509, allocations: 191.4 kB / 319.6 MB, free: 10.16 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009216/0.0443, allocations: 1.251 MB / 320.9 MB, free: 8.867 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/0.04444, allocations: 198 kB / 321 MB, free: 8.652 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001502/0.04459, allocations: 72.81 kB / 321.1 MB, free: 8.582 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001822/0.04477, allocations: 149.3 kB / 321.3 MB, free: 8.434 MB / 314.7 MB Notification: Performance of SimCode: time 7.22e-07/0.04477, allocations: 4 kB / 321.3 MB, free: 8.43 MB / 314.7 MB Notification: Performance of Templates: time 0.01144/0.05621, allocations: 10.31 MB / 331.6 MB, free: 14.29 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.8682867735624313]