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.0009365/0.0009365, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001024/0.001024, allocations: 172.1 kB / 24.82 MB, free: 8.918 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.041/1.041, allocations: 177.1 MB / 205.3 MB, free: 5.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.2585/0.2585, allocations: 29.42 MB / 291.2 MB, free: 2.461 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 2.044e-06/2.044e-06, allocations: 0 / 370.1 MB, free: 10.77 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.364e-05/2.569e-05, allocations: 5.266 kB / 370.1 MB, free: 10.77 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed): time 0.005855/0.00588, allocations: 5.939 MB / 376 MB, free: 4.789 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003293/0.009173, allocations: 2.606 MB / 378.6 MB, free: 2.176 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003487/0.009522, allocations: 35.69 kB / 378.7 MB, free: 2.141 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007278/0.01025, allocations: 278.1 kB / 378.9 MB, free: 1.867 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009149/0.01116, allocations: 0.6138 MB / 379.6 MB, free: 1.25 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004447/0.01161, allocations: 311.3 kB / 379.9 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000968/0.01258, allocations: 1.223 MB / 381.1 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006767/0.01325, allocations: 0.7831 MB / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005774/0.01383, allocations: 0.6859 MB / 382.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005383/0.01437, allocations: 0.4909 MB / 383 MB, free: 13.76 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.808e-05/0.01446, allocations: 88 kB / 383.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004384/0.0149, allocations: 359.3 kB / 383.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002682/0.01516, allocations: 351.1 kB / 383.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002323/0.0154, allocations: 323.3 kB / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007855/0.01618, allocations: 0.9307 MB / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.01619, allocations: 0 / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.01619, allocations: 0 / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.01619, allocations: 0 / 385.1 MB, free: 11.73 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.001195/0.01739, allocations: 1.172 MB / 386.2 MB, free: 10.51 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.01743, allocations: 15.98 kB / 386.3 MB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004454/0.01787, allocations: 200.2 kB / 386.5 MB, free: 10.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006326/0.0185, allocations: 0.6286 MB / 387.1 MB, free: 9.645 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.43e-05/0.01858, allocations: 102 kB / 387.2 MB, free: 9.531 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.753e-05/0.01866, allocations: 72.11 kB / 387.3 MB, free: 9.461 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006075/0.01926, allocations: 0.6002 MB / 387.9 MB, free: 8.805 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/0.01928, allocations: 11.92 kB / 387.9 MB, free: 8.793 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.346e-05/0.01933, allocations: 31.97 kB / 387.9 MB, free: 8.762 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.175e-05/0.01939, allocations: 53.3 kB / 387.9 MB, free: 8.707 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003509/0.01974, allocations: 274 kB / 388.2 MB, free: 8.441 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.00262/0.02236, allocations: 3.557 MB / 391.8 MB, free: 4.703 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000313/0.02267, allocations: 276.9 kB / 392 MB, free: 4.398 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.02282, allocations: 111.1 kB / 392.2 MB, free: 4.277 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.02285, allocations: 15.94 kB / 392.2 MB, free: 4.262 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.02287, allocations: 37.39 kB / 392.2 MB, free: 4.215 MB / 362.7 MB Notification: Performance of pre-optimization done (n=37): time 1.562e-06/0.02287, allocations: 4 kB / 392.2 MB, free: 4.211 MB / 362.7 MB Notification: Performance of matching and sorting (n=55): time 0.003944/0.02682, allocations: 1.985 MB / 394.2 MB, free: 2.148 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.02687, allocations: 111.3 kB / 394.3 MB, free: 2.016 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003411/0.02721, allocations: 490.1 kB / 394.8 MB, free: 1.516 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/0.02724, allocations: 37.7 kB / 394.8 MB, free: 1.473 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002254/0.02746, allocations: 466.6 kB / 395.3 MB, free: 1.008 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.02758, allocations: 198.3 kB / 395.5 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/0.02773, allocations: 140.2 kB / 395.6 MB, free: 0.668 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.02792, allocations: 0.5546 MB / 396.2 MB, free: 104 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.02804, allocations: 89.92 kB / 396.2 MB, free: 12 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003021/0.02834, allocations: 428.8 kB / 396.7 MB, free: 15.46 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004735/0.02882, allocations: 0.5617 MB / 397.2 MB, free: 14.76 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.02882, allocations: 4 kB / 397.2 MB, free: 14.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001325/0.03014, allocations: 0.8387 MB / 398.1 MB, free: 13.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.03016, allocations: 8 kB / 398.1 MB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.03017, allocations: 8 kB / 398.1 MB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001109/0.03128, allocations: 474.5 kB / 398.5 MB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/0.0315, allocations: 107.8 kB / 398.7 MB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004991/0.03649, allocations: 8.175 MB / 406.8 MB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.03669, allocations: 28.11 kB / 406.9 MB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.367e-05/0.03672, allocations: 31.86 kB / 406.9 MB, free: 4.602 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.0001797/0.0369, allocations: 200.4 kB / 407.1 MB, free: 4.395 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.283e-05/0.037, allocations: 79.62 kB / 407.2 MB, free: 4.316 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001155/0.03815, allocations: 0.6965 MB / 407.9 MB, free: 3.598 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.03816, allocations: 8 kB / 407.9 MB, free: 3.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.03816, allocations: 0 / 407.9 MB, free: 3.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.03817, allocations: 7.984 kB / 407.9 MB, free: 3.582 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001921/0.04009, allocations: 1.304 MB / 409.2 MB, free: 2.219 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.04009, allocations: 0 / 409.2 MB, free: 2.219 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.04025, allocations: 55.97 kB / 409.2 MB, free: 2.164 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001032/0.04128, allocations: 462.3 kB / 409.7 MB, free: 1.695 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.665e-05/0.04131, allocations: 16 kB / 409.7 MB, free: 1.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004601/0.04591, allocations: 8.109 MB / 417.8 MB, free: 9.105 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.04591, allocations: 4 kB / 417.8 MB, free: 9.102 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001331/0.04724, allocations: 1.074 MB / 418.9 MB, free: 7.977 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/0.04737, allocations: 107.6 kB / 419 MB, free: 7.871 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.891e-05/0.04741, allocations: 12 kB / 419 MB, free: 7.859 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.04757, allocations: 19.94 kB / 419 MB, free: 7.84 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.775e-05/0.04767, allocations: 60.38 kB / 419.1 MB, free: 7.781 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-05/0.04769, allocations: 12 kB / 419.1 MB, free: 7.77 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001677/0.04786, allocations: 295 kB / 419.4 MB, free: 7.48 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04786, allocations: 0 / 419.4 MB, free: 7.48 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000602/0.04846, allocations: 251.9 kB / 419.6 MB, free: 7.234 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.0002036/0.04866, allocations: 147 kB / 419.8 MB, free: 7.078 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001063/0.04973, allocations: 1.236 MB / 421 MB, free: 5.77 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.04973, allocations: 4 kB / 421 MB, free: 5.766 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000787/0.05051, allocations: 1.054 MB / 422.1 MB, free: 4.637 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005024/0.05102, allocations: 162.7 kB / 422.2 MB, free: 4.488 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00186/0.05288, allocations: 1.428 MB / 423.7 MB, free: 3 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001817/0.05306, allocations: 239.6 kB / 423.9 MB, free: 2.746 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001608/0.05322, allocations: 69.22 kB / 424 MB, free: 2.676 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002164/0.05344, allocations: 186.1 kB / 424.1 MB, free: 2.492 MB / 394.7 MB Notification: Performance of SimCode: time 5.91e-07/0.05344, allocations: 0 / 424.1 MB, free: 2.492 MB / 394.7 MB Notification: Performance of Templates: time 0.01604/0.06947, allocations: 14.82 MB / 439 MB, free: 3.801 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.524789053015411]