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.0009807/0.0009807, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001009/0.001009, allocations: 167.3 kB / 24.91 MB, free: 9.148 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.9979/0.9979, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.2451/0.2451, allocations: 29.41 MB / 291.2 MB, free: 2.422 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.324e-06/2.324e-06, allocations: 0 / 316.8 MB, free: 4 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.969e-05/4.202e-05, allocations: 7.234 kB / 316.8 MB, free: 15.99 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed): time 0.005834/0.005876, allocations: 5.962 MB / 322.8 MB, free: 10 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003943/0.009819, allocations: 2.662 MB / 325.5 MB, free: 7.336 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006716/0.01049, allocations: 35.69 kB / 325.5 MB, free: 7.301 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009436/0.01143, allocations: 274.2 kB / 325.8 MB, free: 7.031 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00138/0.01281, allocations: 0.6176 MB / 326.4 MB, free: 6.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006996/0.01351, allocations: 311.3 kB / 326.7 MB, free: 6.105 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00135/0.01486, allocations: 1.227 MB / 327.9 MB, free: 4.875 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007921/0.01566, allocations: 0.8087 MB / 328.7 MB, free: 4.059 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008246/0.01648, allocations: 0.6781 MB / 329.4 MB, free: 3.379 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006499/0.01713, allocations: 490.7 kB / 329.9 MB, free: 2.898 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001129/0.01724, allocations: 84 kB / 330 MB, free: 2.816 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005814/0.01782, allocations: 347.5 kB / 330.3 MB, free: 2.477 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002811/0.01811, allocations: 359.1 kB / 330.6 MB, free: 2.125 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002932/0.0184, allocations: 311.3 kB / 331 MB, free: 1.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001121/0.01952, allocations: 0.9385 MB / 331.9 MB, free: 0.875 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.01952, allocations: 0 / 331.9 MB, free: 0.875 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.01952, allocations: 4 kB / 331.9 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.01954, allocations: 0 / 331.9 MB, free: 0.8711 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.001553/0.02109, allocations: 1.022 MB / 332.9 MB, free: 15.82 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.02113, allocations: 15.98 kB / 332.9 MB, free: 15.8 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005038/0.02163, allocations: 168.8 kB / 333.1 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007627/0.0224, allocations: 0.5205 MB / 333.6 MB, free: 15.09 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.882e-05/0.02248, allocations: 114 kB / 333.7 MB, free: 14.97 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.502e-05/0.02257, allocations: 65.5 kB / 333.8 MB, free: 14.91 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006534/0.02322, allocations: 0.5931 MB / 334.4 MB, free: 14.26 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.688e-05/0.02325, allocations: 11.89 kB / 334.4 MB, free: 14.25 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.351e-05/0.02329, allocations: 23.98 kB / 334.4 MB, free: 14.23 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.65e-05/0.02337, allocations: 65.22 kB / 334.5 MB, free: 14.16 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000347/0.02372, allocations: 234.2 kB / 334.7 MB, free: 13.93 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.002745/0.02646, allocations: 2.764 MB / 337.5 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000345/0.02681, allocations: 278.5 kB / 337.7 MB, free: 10.72 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/0.02695, allocations: 91.2 kB / 337.8 MB, free: 10.62 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.199e-05/0.02698, allocations: 12.59 kB / 337.8 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.02701, allocations: 46.48 kB / 337.9 MB, free: 10.55 MB / 314.7 MB Notification: Performance of pre-optimization done (n=37): time 4.298e-06/0.02702, allocations: 0 / 337.9 MB, free: 10.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=38): time 0.002475/0.02949, allocations: 1.075 MB / 339 MB, free: 9.438 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.335e-05/0.02956, allocations: 110.8 kB / 339.1 MB, free: 9.305 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003405/0.0299, allocations: 407 kB / 339.5 MB, free: 8.891 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.02992, allocations: 33.7 kB / 339.5 MB, free: 8.852 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.03011, allocations: 368.8 kB / 339.9 MB, free: 8.488 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.857e-05/0.0302, allocations: 138.8 kB / 340 MB, free: 8.352 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.03032, allocations: 102.2 kB / 340.1 MB, free: 8.246 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.03046, allocations: 370.6 kB / 340.5 MB, free: 7.875 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.771e-05/0.03054, allocations: 53.31 kB / 340.5 MB, free: 7.82 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002086/0.03075, allocations: 277.9 kB / 340.8 MB, free: 7.453 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003266/0.03108, allocations: 381.5 kB / 341.2 MB, free: 6.98 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.03108, allocations: 4 kB / 341.2 MB, free: 6.977 MB / 314.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007042/0.03179, allocations: 479.9 kB / 341.6 MB, free: 6.492 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.03181, allocations: 8 kB / 341.6 MB, free: 6.484 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.03182, allocations: 8 kB / 341.7 MB, free: 6.477 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006326/0.03246, allocations: 228.3 kB / 341.9 MB, free: 6.246 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/0.03267, allocations: 115.8 kB / 342 MB, free: 6.133 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002475/0.03515, allocations: 2.931 MB / 344.9 MB, free: 3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.03534, allocations: 20 kB / 344.9 MB, free: 2.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.287e-05/0.03537, allocations: 20 kB / 345 MB, free: 2.961 MB / 314.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.0001774/0.03554, allocations: 156.5 kB / 345.1 MB, free: 2.797 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.964e-05/0.03561, allocations: 39.95 kB / 345.1 MB, free: 2.758 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005897/0.0362, allocations: 375 kB / 345.5 MB, free: 2.379 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.03621, allocations: 4 kB / 345.5 MB, free: 2.375 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.03621, allocations: 4 kB / 345.5 MB, free: 2.371 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.03622, allocations: 3.984 kB / 345.5 MB, free: 2.367 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/0.03728, allocations: 0.7575 MB / 346.3 MB, free: 1.574 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.03729, allocations: 8 kB / 346.3 MB, free: 1.566 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001416/0.03743, allocations: 51.94 kB / 346.3 MB, free: 1.516 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005639/0.03799, allocations: 217.9 kB / 346.6 MB, free: 1.297 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/0.03801, allocations: 12 kB / 346.6 MB, free: 1.285 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002109/0.04012, allocations: 2.992 MB / 349.6 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.04013, allocations: 4 kB / 349.6 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007059/0.04083, allocations: 0.6224 MB / 350.2 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.04093, allocations: 75.59 kB / 350.3 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.598e-05/0.04097, allocations: 11.94 kB / 350.3 MB, free: 13.35 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.0411, allocations: 8 kB / 350.3 MB, free: 13.34 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.652e-05/0.04118, allocations: 43.95 kB / 350.3 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.0412, allocations: 15.94 kB / 350.3 MB, free: 13.28 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001362/0.04134, allocations: 160.7 kB / 350.5 MB, free: 13.12 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.04134, allocations: 0 / 350.5 MB, free: 13.12 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006493/0.04199, allocations: 199.9 kB / 350.7 MB, free: 12.93 MB / 330.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.0002378/0.04222, allocations: 119.3 kB / 350.8 MB, free: 12.81 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006316/0.04285, allocations: 0.5557 MB / 351.4 MB, free: 12.23 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.789e-06/0.04286, allocations: 8.062 kB / 351.4 MB, free: 12.22 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003743/0.04324, allocations: 453.2 kB / 351.8 MB, free: 11.75 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004824/0.04372, allocations: 158.2 kB / 352 MB, free: 11.6 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/0.04558, allocations: 1.225 MB / 353.2 MB, free: 10.33 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001636/0.04575, allocations: 202 kB / 353.4 MB, free: 10.11 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001742/0.04592, allocations: 68.8 kB / 353.5 MB, free: 10.04 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001866/0.04611, allocations: 153.3 kB / 353.6 MB, free: 9.891 MB / 330.7 MB Notification: Performance of SimCode: time 1.102e-06/0.04611, allocations: 0 / 353.6 MB, free: 9.891 MB / 330.7 MB Notification: Performance of Templates: time 0.01363/0.05974, allocations: 10.05 MB / 363.7 MB, free: 0 / 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: 3.2502915766090155]