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.002394/0.002394, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002839/0.002839, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 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.549/1.549, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.3195/0.3195, allocations: 29.41 MB / 290.5 MB, free: 2.414 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.784e-06/1.784e-06, allocations: 0 / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.993e-05/3.171e-05, allocations: 2.312 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed): time 0.01306/0.01309, allocations: 6.412 MB / 375.3 MB, free: 4.852 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006996/0.02009, allocations: 2.621 MB / 377.9 MB, free: 2.227 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008177/0.02091, allocations: 39.69 kB / 378 MB, free: 2.188 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001561/0.02247, allocations: 322 kB / 378.3 MB, free: 1.871 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002272/0.02474, allocations: 0.6137 MB / 378.9 MB, free: 1.254 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.02583, allocations: 299.4 kB / 379.2 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002289/0.02812, allocations: 1.234 MB / 380.4 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001469/0.02959, allocations: 0.787 MB / 381.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001343/0.03094, allocations: 0.6859 MB / 381.9 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001138/0.03207, allocations: 0.5026 MB / 382.4 MB, free: 13.75 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001986/0.03227, allocations: 88 kB / 382.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009097/0.03318, allocations: 351.4 kB / 382.8 MB, free: 13.32 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005449/0.03373, allocations: 359.1 kB / 383.2 MB, free: 12.96 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000602/0.03433, allocations: 323.3 kB / 383.5 MB, free: 12.65 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002457/0.03679, allocations: 1.398 MB / 384.9 MB, free: 11.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.03679, allocations: 0 / 384.9 MB, free: 11.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.183e-06/0.0368, allocations: 7.984 kB / 384.9 MB, free: 11.24 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.481e-05/0.03681, allocations: 0 / 384.9 MB, free: 11.24 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.003318/0.04013, allocations: 1.273 MB / 386.2 MB, free: 9.922 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.04018, allocations: 11.98 kB / 386.2 MB, free: 9.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009577/0.04113, allocations: 208.3 kB / 386.4 MB, free: 9.707 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00143/0.04256, allocations: 0.6598 MB / 387 MB, free: 9.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001497/0.04271, allocations: 106 kB / 387.1 MB, free: 8.902 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001356/0.04285, allocations: 68.12 kB / 387.2 MB, free: 8.836 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/0.04444, allocations: 0.8027 MB / 388 MB, free: 7.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.83e-05/0.04447, allocations: 3.984 kB / 388 MB, free: 7.977 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.827e-05/0.04455, allocations: 35.98 kB / 388 MB, free: 7.941 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001094/0.04466, allocations: 49.3 kB / 388.1 MB, free: 7.891 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/0.04585, allocations: 0.4929 MB / 388.6 MB, free: 7.398 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.006736/0.05259, allocations: 4.072 MB / 392.7 MB, free: 3.137 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007761/0.05336, allocations: 333.5 kB / 393 MB, free: 2.773 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004115/0.05378, allocations: 171 kB / 393.1 MB, free: 2.594 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.796e-05/0.05383, allocations: 15.92 kB / 393.2 MB, free: 2.578 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.394e-05/0.05388, allocations: 41.98 kB / 393.2 MB, free: 2.527 MB / 362.7 MB Notification: Performance of pre-optimization done (n=37): time 2.655e-06/0.05388, allocations: 0 / 393.2 MB, free: 2.527 MB / 362.7 MB Notification: Performance of matching and sorting (n=55): time 0.009945/0.06382, allocations: 2.626 MB / 395.8 MB, free: 15.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.575e-05/0.06392, allocations: 111.2 kB / 395.9 MB, free: 15.69 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009053/0.06483, allocations: 0.6117 MB / 396.6 MB, free: 15.06 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.494e-05/0.06488, allocations: 37.69 kB / 396.6 MB, free: 15.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004409/0.06532, allocations: 490.7 kB / 397.1 MB, free: 14.53 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002514/0.06557, allocations: 222.3 kB / 397.3 MB, free: 14.31 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004221/0.066, allocations: 164.3 kB / 397.4 MB, free: 14.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0005432/0.06654, allocations: 0.5937 MB / 398 MB, free: 13.54 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006427/0.06718, allocations: 161.9 kB / 398.2 MB, free: 13.38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/0.06821, allocations: 0.5047 MB / 398.7 MB, free: 12.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001877/0.07009, allocations: 0.7218 MB / 399.4 MB, free: 11.88 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-05/0.0701, allocations: 8 kB / 399.4 MB, free: 11.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003487/0.07358, allocations: 1.018 MB / 400.4 MB, free: 10.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/0.07361, allocations: 8 kB / 400.5 MB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/0.07363, allocations: 8 kB / 400.5 MB, free: 10.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002725/0.07635, allocations: 0.4944 MB / 401 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005022/0.07686, allocations: 115.8 kB / 401.1 MB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01191/0.08877, allocations: 8.723 MB / 409.8 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006102/0.08938, allocations: 31.98 kB / 409.8 MB, free: 0.9414 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.867e-05/0.08948, allocations: 31.98 kB / 409.9 MB, free: 0.9102 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.0004747/0.08995, allocations: 264.3 kB / 410.1 MB, free: 0.6406 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000215/0.09017, allocations: 79.62 kB / 410.2 MB, free: 0.5625 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003057/0.09323, allocations: 0.845 MB / 411 MB, free: 15.69 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/0.09324, allocations: 12.12 kB / 411 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-05/0.09325, allocations: 4 kB / 411.1 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.285e-05/0.09327, allocations: 7.969 kB / 411.1 MB, free: 15.67 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005174/0.09844, allocations: 1.74 MB / 412.8 MB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.09845, allocations: 3.938 kB / 412.8 MB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003547/0.0988, allocations: 63.89 kB / 412.9 MB, free: 13.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002459/0.1013, allocations: 0.4942 MB / 413.4 MB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-05/0.1013, allocations: 15.98 kB / 413.4 MB, free: 13.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01168/0.113, allocations: 8.671 MB / 422 MB, free: 4.113 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/0.113, allocations: 11.88 kB / 422.1 MB, free: 4.102 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003932/0.1169, allocations: 1.328 MB / 423.4 MB, free: 2.719 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004211/0.1174, allocations: 111.7 kB / 423.5 MB, free: 2.609 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001391/0.1175, allocations: 23.92 kB / 423.5 MB, free: 2.586 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004358/0.1179, allocations: 16 kB / 423.5 MB, free: 2.57 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002484/0.1182, allocations: 68.31 kB / 423.6 MB, free: 2.504 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-05/0.1182, allocations: 20.03 kB / 423.6 MB, free: 2.484 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005854/0.1188, allocations: 367 kB / 424 MB, free: 2.125 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1188, allocations: 0 / 424 MB, free: 2.125 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001277/0.1201, allocations: 251.9 kB / 424.2 MB, free: 1.879 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.0004205/0.1205, allocations: 131.1 kB / 424.4 MB, free: 1.738 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002936/0.1234, allocations: 1.408 MB / 425.8 MB, free: 264 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.1235, allocations: 1.438 kB / 425.8 MB, free: 264 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002096/0.1255, allocations: 1.135 MB / 426.9 MB, free: 15.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.1267, allocations: 153.6 kB / 427 MB, free: 14.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003716/0.1304, allocations: 1.486 MB / 428.5 MB, free: 13.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007038/0.1311, allocations: 448.5 kB / 429 MB, free: 12.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003851/0.1315, allocations: 93.17 kB / 429.1 MB, free: 12.81 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.1316, allocations: 40.48 kB / 429.1 MB, free: 12.77 MB / 410.7 MB Notification: Performance of SimCode: time 1.934e-06/0.1316, allocations: 3.938 kB / 429.1 MB, free: 12.77 MB / 410.7 MB Notification: Performance of Templates: time 0.1887/0.3203, allocations: 14.03 MB / 443.1 MB, free: 106.3 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: 5.5613378210691735]