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.001422/0.001422, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001639/0.001639, allocations: 162.1 kB / 25.61 MB, free: 8.902 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 0.9498/0.9498, allocations: 177.1 MB / 206 MB, free: 4.5 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.1341/0.1341, allocations: 29.42 MB / 292 MB, free: 2.629 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.623e-06/1.623e-06, allocations: 0 / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.668e-05/1.831e-05, allocations: 6.25 kB / 370.9 MB, free: 32.31 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed): time 0.004503/0.004522, allocations: 5.941 MB / 376.8 MB, free: 26.36 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002567/0.007089, allocations: 2.602 MB / 379.4 MB, free: 23.75 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002827/0.007372, allocations: 35.69 kB / 379.4 MB, free: 23.71 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007416/0.008113, allocations: 286.1 kB / 379.7 MB, free: 23.43 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007442/0.008858, allocations: 0.6021 MB / 380.3 MB, free: 22.82 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004007/0.009258, allocations: 311.3 kB / 380.6 MB, free: 22.52 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007996/0.01006, allocations: 1.227 MB / 381.9 MB, free: 21.29 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005529/0.01061, allocations: 0.7909 MB / 382.7 MB, free: 20.49 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004607/0.01107, allocations: 0.6821 MB / 383.3 MB, free: 19.8 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004347/0.01151, allocations: 0.4948 MB / 383.8 MB, free: 19.31 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.053e-05/0.01158, allocations: 84 kB / 383.9 MB, free: 19.23 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003333/0.01191, allocations: 355.4 kB / 384.3 MB, free: 18.88 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001873/0.0121, allocations: 359.1 kB / 384.6 MB, free: 18.53 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000192/0.01229, allocations: 319.3 kB / 384.9 MB, free: 18.21 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00063/0.01292, allocations: 0.9346 MB / 385.9 MB, free: 17.28 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.01292, allocations: 0 / 385.9 MB, free: 17.28 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.01292, allocations: 0 / 385.9 MB, free: 17.28 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.01293, allocations: 0 / 385.9 MB, free: 17.28 MB / 314.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.001085/0.01402, allocations: 1.176 MB / 387 MB, free: 16.06 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.01405, allocations: 12.03 kB / 387 MB, free: 16.05 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004511/0.0145, allocations: 196.3 kB / 387.2 MB, free: 15.86 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005771/0.01508, allocations: 0.6247 MB / 387.9 MB, free: 15.21 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.499e-05/0.01514, allocations: 106 kB / 388 MB, free: 15.09 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.697e-05/0.01521, allocations: 76.06 kB / 388 MB, free: 15.02 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005003/0.01571, allocations: 0.6041 MB / 388.6 MB, free: 14.35 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.01573, allocations: 7.938 kB / 388.6 MB, free: 14.34 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.765e-05/0.01577, allocations: 27.98 kB / 388.7 MB, free: 14.32 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.053e-05/0.01583, allocations: 61.28 kB / 388.7 MB, free: 14.26 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003141/0.01614, allocations: 270.1 kB / 389 MB, free: 13.99 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.002053/0.0182, allocations: 3.553 MB / 392.6 MB, free: 10.27 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002781/0.01847, allocations: 271 kB / 392.8 MB, free: 9.965 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.0186, allocations: 115 kB / 392.9 MB, free: 9.84 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.01862, allocations: 16.52 kB / 392.9 MB, free: 9.824 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.01864, allocations: 37.39 kB / 393 MB, free: 9.777 MB / 314.7 MB Notification: Performance of pre-optimization done (n=37): time 1.744e-06/0.01864, allocations: 0 / 393 MB, free: 9.777 MB / 314.7 MB Notification: Performance of matching and sorting (n=55): time 0.003847/0.02249, allocations: 1.995 MB / 395 MB, free: 7.707 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.02251, allocations: 115.3 kB / 395.1 MB, free: 7.57 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000233/0.02275, allocations: 486.2 kB / 395.6 MB, free: 7.074 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.02277, allocations: 37.7 kB / 395.6 MB, free: 7.031 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.0229, allocations: 466.6 kB / 396.1 MB, free: 6.566 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.933e-05/0.02298, allocations: 206.3 kB / 396.3 MB, free: 6.363 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.0231, allocations: 144.2 kB / 396.4 MB, free: 6.215 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.494e-05/0.02317, allocations: 0.5468 MB / 396.9 MB, free: 5.656 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.924e-05/0.02327, allocations: 89.92 kB / 397 MB, free: 5.566 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/0.02345, allocations: 432.8 kB / 397.5 MB, free: 5.004 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003399/0.02379, allocations: 0.5656 MB / 398 MB, free: 4.301 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.02379, allocations: 4 kB / 398 MB, free: 4.297 MB / 314.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001217/0.02501, allocations: 0.8311 MB / 398.9 MB, free: 3.441 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.02503, allocations: 8 kB / 398.9 MB, free: 3.434 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.02504, allocations: 8 kB / 398.9 MB, free: 3.426 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001079/0.02611, allocations: 473.7 kB / 399.3 MB, free: 2.949 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/0.02632, allocations: 111.8 kB / 399.4 MB, free: 2.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00475/0.03107, allocations: 8.148 MB / 407.6 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000254/0.03133, allocations: 31.97 kB / 407.6 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.464e-05/0.03136, allocations: 23.94 kB / 407.6 MB, free: 10.18 MB / 330.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.0002094/0.03157, allocations: 196.4 kB / 407.8 MB, free: 9.973 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.03168, allocations: 83.61 kB / 407.9 MB, free: 9.891 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001273/0.03295, allocations: 0.6926 MB / 408.6 MB, free: 9.172 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.03296, allocations: 8.297 kB / 408.6 MB, free: 9.164 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.03296, allocations: 3.938 kB / 408.6 MB, free: 9.16 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.03297, allocations: 11.97 kB / 408.6 MB, free: 9.148 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001943/0.03491, allocations: 1.311 MB / 409.9 MB, free: 7.781 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.03492, allocations: 3.984 kB / 410 MB, free: 7.777 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/0.03509, allocations: 64 kB / 410 MB, free: 7.715 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001082/0.03617, allocations: 453.4 kB / 410.5 MB, free: 7.258 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.624e-05/0.03619, allocations: 19.92 kB / 410.5 MB, free: 7.238 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004491/0.04069, allocations: 8.106 MB / 418.6 MB, free: 14.67 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.04069, allocations: 8 kB / 418.6 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001401/0.04209, allocations: 1.07 MB / 419.7 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/0.04222, allocations: 111.6 kB / 419.8 MB, free: 13.43 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.713e-05/0.04227, allocations: 15.98 kB / 419.8 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.04244, allocations: 19.94 kB / 419.8 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.04255, allocations: 60.3 kB / 419.9 MB, free: 13.33 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.145e-05/0.04258, allocations: 12 kB / 419.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001799/0.04275, allocations: 291 kB / 420.2 MB, free: 13.04 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04276, allocations: 0 / 420.2 MB, free: 13.04 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007232/0.04348, allocations: 255.9 kB / 420.4 MB, free: 12.79 MB / 346.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.0002478/0.04373, allocations: 142.8 kB / 420.5 MB, free: 12.64 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001178/0.0449, allocations: 1.237 MB / 421.8 MB, free: 11.33 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.04491, allocations: 8 kB / 421.8 MB, free: 11.32 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008251/0.04573, allocations: 1.049 MB / 422.8 MB, free: 10.2 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005364/0.04627, allocations: 147.3 kB / 423 MB, free: 10.06 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002152/0.04842, allocations: 1.431 MB / 424.4 MB, free: 8.57 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002085/0.04863, allocations: 247.4 kB / 424.7 MB, free: 8.309 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001816/0.04881, allocations: 73.2 kB / 424.7 MB, free: 8.238 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002141/0.04902, allocations: 178.1 kB / 424.9 MB, free: 8.062 MB / 346.7 MB Notification: Performance of SimCode: time 9.92e-07/0.04902, allocations: 0 / 424.9 MB, free: 8.062 MB / 346.7 MB Notification: Performance of Templates: time 0.01675/0.06577, allocations: 15.07 MB / 440 MB, free: 9.16 MB / 362.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.4513037418946624]