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.0008127/0.0008127, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.00292/0.00292, allocations: 160.9 kB / 24.7 MB, free: 9.426 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.8597/0.8597, allocations: 177.2 MB / 205 MB, free: 5.723 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.2221/0.2221, allocations: 29.41 MB / 290.9 MB, free: 2.426 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.824e-06/1.824e-06, allocations: 0 / 431.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.124e-05/2.306e-05, allocations: 6.219 kB / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed): time 0.005178/0.005201, allocations: 6.072 MB / 437.5 MB, free: 6.988 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002943/0.008144, allocations: 2.512 MB / 440.1 MB, free: 4.469 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003955/0.008539, allocations: 39.69 kB / 440.1 MB, free: 4.43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008401/0.009379, allocations: 333.9 kB / 440.4 MB, free: 4.102 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001004/0.01038, allocations: 0.6176 MB / 441 MB, free: 3.48 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004902/0.01087, allocations: 291.4 kB / 441.3 MB, free: 3.195 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00117/0.01204, allocations: 1.242 MB / 442.6 MB, free: 1.941 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007411/0.01279, allocations: 0.7672 MB / 443.3 MB, free: 1.164 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006859/0.01347, allocations: 0.678 MB / 444 MB, free: 496 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1631/0.1766, allocations: 499.1 kB / 444.5 MB, free: 45.3 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002749/0.1768, allocations: 88.03 kB / 444.6 MB, free: 45.3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005342/0.1774, allocations: 347.4 kB / 444.9 MB, free: 45.3 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002278/0.1776, allocations: 346.5 kB / 445.3 MB, free: 45.3 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000256/0.1779, allocations: 317.8 kB / 445.6 MB, free: 45.3 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009263/0.1788, allocations: 1.402 MB / 447 MB, free: 45.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.1788, allocations: 0 / 447 MB, free: 45.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1788, allocations: 0 / 447 MB, free: 45.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.1788, allocations: 0 / 447 MB, free: 45.27 MB / 410.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.001258/0.1801, allocations: 1.087 MB / 448.1 MB, free: 44.72 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.1801, allocations: 14.64 kB / 448.1 MB, free: 44.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003691/0.1805, allocations: 149.5 kB / 448.2 MB, free: 44.67 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006446/0.1811, allocations: 0.6207 MB / 448.8 MB, free: 44.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.26e-05/0.1812, allocations: 110.7 kB / 449 MB, free: 44.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.418e-05/0.1813, allocations: 67.05 kB / 449 MB, free: 44.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007809/0.182, allocations: 0.9671 MB / 450 MB, free: 44.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.1821, allocations: 3.281 kB / 450 MB, free: 44.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.451e-05/0.1821, allocations: 26.72 kB / 450 MB, free: 44.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.509e-05/0.1822, allocations: 53.84 kB / 450.1 MB, free: 44.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007221/0.1829, allocations: 0.7844 MB / 450.9 MB, free: 44.22 MB / 410.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.002275/0.1852, allocations: 3.291 MB / 454.1 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004271/0.1856, allocations: 416.8 kB / 454.5 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002252/0.1858, allocations: 224.5 kB / 454.8 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.1858, allocations: 16.73 kB / 454.8 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.1859, allocations: 40.44 kB / 454.8 MB, free: 42.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=37): time 1.974e-06/0.1859, allocations: 0.625 kB / 454.8 MB, free: 42.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=55): time 0.005049/0.1909, allocations: 3.394 MB / 458.2 MB, free: 40.74 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.1909, allocations: 109.9 kB / 458.3 MB, free: 40.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002954/0.1912, allocations: 476.3 kB / 458.8 MB, free: 40.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.1913, allocations: 36.92 kB / 458.8 MB, free: 40.35 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.1914, allocations: 408.8 kB / 459.2 MB, free: 40.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.57e-05/0.1914, allocations: 206.2 kB / 459.4 MB, free: 39.87 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.1916, allocations: 128.1 kB / 459.6 MB, free: 39.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.149e-05/0.1916, allocations: 367.6 kB / 459.9 MB, free: 39.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002498/0.1919, allocations: 285.9 kB / 460.2 MB, free: 39.35 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002936/0.1921, allocations: 0.5014 MB / 460.7 MB, free: 38.96 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000612/0.1928, allocations: 0.8519 MB / 461.5 MB, free: 38.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.1928, allocations: 3.25 kB / 461.5 MB, free: 38.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001561/0.1943, allocations: 1.306 MB / 462.9 MB, free: 37.94 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.1943, allocations: 8.969 kB / 462.9 MB, free: 37.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.1944, allocations: 9.812 kB / 462.9 MB, free: 37.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007737/0.1951, allocations: 461.7 kB / 463.3 MB, free: 37.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/0.1953, allocations: 114.4 kB / 463.4 MB, free: 37.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00508/0.2004, allocations: 8.642 MB / 472.1 MB, free: 31.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002709/0.2007, allocations: 34.7 kB / 472.1 MB, free: 31.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.165e-05/0.2007, allocations: 28.25 kB / 472.1 MB, free: 31.27 MB / 410.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.0002675/0.201, allocations: 310.6 kB / 472.4 MB, free: 31.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.349e-05/0.201, allocations: 60.14 kB / 472.5 MB, free: 31.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001419/0.2025, allocations: 1.154 MB / 473.7 MB, free: 30.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.2025, allocations: 6.281 kB / 473.7 MB, free: 30.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.2025, allocations: 3.094 kB / 473.7 MB, free: 30.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.2025, allocations: 7.453 kB / 473.7 MB, free: 30.56 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002016/0.2045, allocations: 1.883 MB / 475.6 MB, free: 29.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.2045, allocations: 3.375 kB / 475.6 MB, free: 29.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/0.2047, allocations: 63 kB / 475.6 MB, free: 29.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006602/0.2053, allocations: 443.6 kB / 476 MB, free: 29.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.826e-05/0.2053, allocations: 25.83 kB / 476.1 MB, free: 29.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004363/0.2097, allocations: 8.372 MB / 484.4 MB, free: 23.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.2097, allocations: 3 kB / 484.4 MB, free: 23.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001707/0.2114, allocations: 1.696 MB / 486.1 MB, free: 22.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001428/0.2116, allocations: 116.6 kB / 486.3 MB, free: 22.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.112e-05/0.2116, allocations: 17.72 kB / 486.3 MB, free: 22.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.2118, allocations: 16.25 kB / 486.3 MB, free: 22.26 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.2119, allocations: 65.17 kB / 486.4 MB, free: 22.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.17e-05/0.2119, allocations: 16.59 kB / 486.4 MB, free: 22.24 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002027/0.2121, allocations: 315.9 kB / 486.7 MB, free: 22.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2121, allocations: 4.062 kB / 486.7 MB, free: 22.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006534/0.2128, allocations: 253.3 kB / 486.9 MB, free: 22.05 MB / 410.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.0002269/0.213, allocations: 134 kB / 487.1 MB, free: 21.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001215/0.2142, allocations: 1.323 MB / 488.4 MB, free: 21.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2142, allocations: 0 / 488.4 MB, free: 21.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007738/0.215, allocations: 0.9806 MB / 489.4 MB, free: 20.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004948/0.2155, allocations: 142.5 kB / 489.5 MB, free: 20.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001795/0.2173, allocations: 1.664 MB / 491.2 MB, free: 19.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.2176, allocations: 457.8 kB / 491.6 MB, free: 19.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.257e-05/0.2177, allocations: 45.52 kB / 491.7 MB, free: 19.42 MB / 410.7 MB Notification: Performance of SimCode: time 1.092e-06/0.2177, allocations: 0 / 491.7 MB, free: 19.42 MB / 410.7 MB Notification: Performance of Templates: time 0.02547/0.2432, allocations: 24.41 MB / 0.504 GB, free: 11.81 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.73671704903245] Failed to read output from testmodel.py, exit status != 0: 0.24970395117998123 0.25970497800000003 0.078636815 Calling exit ...