Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.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.001075/0.001075, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.005726/0.005726, allocations: 163.2 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.878/0.878, allocations: 177.1 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.2172/0.2172, allocations: 29.41 MB / 290.8 MB, free: 2.41 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.DCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 431.5 MB, free: 13.08 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.39e-05/1.545e-05, allocations: 2.281 kB / 431.5 MB, free: 13.08 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.004104/0.004119, allocations: 4.696 MB / 436.2 MB, free: 8.359 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001687/0.005806, allocations: 1.394 MB / 437.6 MB, free: 6.961 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001926/0.005999, allocations: 19.81 kB / 437.6 MB, free: 6.941 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003005/0.006299, allocations: 115.1 kB / 437.7 MB, free: 6.828 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004827/0.006782, allocations: 278.1 kB / 438 MB, free: 6.555 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002259/0.007008, allocations: 139.6 kB / 438.1 MB, free: 6.418 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005132/0.007521, allocations: 0.6147 MB / 438.7 MB, free: 5.801 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002882/0.007809, allocations: 287.3 kB / 439 MB, free: 5.512 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002981/0.008107, allocations: 351.1 kB / 439.3 MB, free: 5.168 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002402/0.008348, allocations: 195.4 kB / 439.5 MB, free: 4.977 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.813e-05/0.008386, allocations: 36 kB / 439.6 MB, free: 4.941 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.196e-05/0.008428, allocations: 40 kB / 439.6 MB, free: 4.902 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.548e-05/0.008513, allocations: 127.6 kB / 439.7 MB, free: 4.777 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.008623, allocations: 159.6 kB / 439.9 MB, free: 4.621 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003794/0.009002, allocations: 0.5024 MB / 440.4 MB, free: 4.117 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.009004, allocations: 0 / 440.4 MB, free: 4.117 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.009005, allocations: 0 / 440.4 MB, free: 4.117 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.009011, allocations: 0 / 440.4 MB, free: 4.117 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0008022/0.009813, allocations: 0.6428 MB / 441 MB, free: 3.445 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.009848, allocations: 15.98 kB / 441 MB, free: 3.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.728e-05/0.009915, allocations: 48.66 kB / 441.1 MB, free: 3.383 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004194/0.01033, allocations: 352 kB / 441.4 MB, free: 3.012 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.222e-05/0.01042, allocations: 80.97 kB / 441.5 MB, free: 2.922 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.656e-05/0.01046, allocations: 40.12 kB / 441.6 MB, free: 2.883 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004288/0.01089, allocations: 432.3 kB / 442 MB, free: 2.422 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.01091, allocations: 7.891 kB / 442 MB, free: 2.414 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.242e-05/0.01093, allocations: 12 kB / 442 MB, free: 2.402 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.01094, allocations: 12 kB / 442 MB, free: 2.391 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003204/0.01126, allocations: 278.3 kB / 442.3 MB, free: 2.117 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001218/0.01248, allocations: 1.626 MB / 443.9 MB, free: 408 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002057/0.01269, allocations: 167.6 kB / 444.1 MB, free: 212 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.992e-05/0.01277, allocations: 70.62 kB / 444.1 MB, free: 132 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.01278, allocations: 11.98 kB / 444.1 MB, free: 120 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.0128, allocations: 30.56 kB / 444.2 MB, free: 80 kB / 410.7 MB Notification: Performance of pre-optimization done (n=18): time 1.312e-06/0.0128, allocations: 4 kB / 444.2 MB, free: 76 kB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.1674/0.1802, allocations: 0.6247 MB / 444.8 MB, free: 54.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.1803, allocations: 109 kB / 444.9 MB, free: 54.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001898/0.1805, allocations: 298.5 kB / 445.2 MB, free: 54.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.1805, allocations: 35.3 kB / 445.2 MB, free: 54.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.66e-05/0.1806, allocations: 246 kB / 445.5 MB, free: 54.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.162e-05/0.1806, allocations: 81.19 kB / 445.6 MB, free: 54.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.796e-05/0.1806, allocations: 66.77 kB / 445.6 MB, free: 54.22 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.156e-05/0.1807, allocations: 340.9 kB / 446 MB, free: 53.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.32e-05/0.1808, allocations: 75.25 kB / 446 MB, free: 53.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.1809, allocations: 201.2 kB / 446.2 MB, free: 53.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002159/0.1811, allocations: 285.6 kB / 446.5 MB, free: 53.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1811, allocations: 2.938 kB / 446.5 MB, free: 53.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002767/0.1814, allocations: 329.3 kB / 446.8 MB, free: 53.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.1814, allocations: 10.44 kB / 446.8 MB, free: 53.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.617e-06/0.1814, allocations: 6.094 kB / 446.8 MB, free: 53.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.1814, allocations: 6.031 kB / 446.9 MB, free: 53.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.1816, allocations: 77.75 kB / 446.9 MB, free: 53.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.1816, allocations: 10.03 kB / 446.9 MB, free: 53.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.818e-05/0.1817, allocations: 16.95 kB / 447 MB, free: 53.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.1817, allocations: 19.44 kB / 447 MB, free: 53.37 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001173/0.1818, allocations: 185 kB / 447.2 MB, free: 53.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.302e-05/0.1819, allocations: 28.47 kB / 447.2 MB, free: 53.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002253/0.1821, allocations: 190.4 kB / 447.4 MB, free: 53.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.1821, allocations: 5.062 kB / 447.4 MB, free: 53.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.1821, allocations: 3.062 kB / 447.4 MB, free: 53.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.1821, allocations: 0 / 447.4 MB, free: 53.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004716/0.1826, allocations: 0.5177 MB / 447.9 MB, free: 52.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1826, allocations: 3.156 kB / 447.9 MB, free: 52.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/0.1827, allocations: 39.84 kB / 447.9 MB, free: 52.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.1827, allocations: 0 / 447.9 MB, free: 52.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.1827, allocations: 6.656 kB / 447.9 MB, free: 52.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.1827, allocations: 3.938 kB / 447.9 MB, free: 52.74 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.1827, allocations: 3.688 kB / 447.9 MB, free: 52.74 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002968/0.183, allocations: 445.3 kB / 448.4 MB, free: 52.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.471e-05/0.183, allocations: 28.03 kB / 448.4 MB, free: 52.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.183, allocations: 3.156 kB / 448.4 MB, free: 52.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.748e-05/0.1831, allocations: 10.66 kB / 448.4 MB, free: 52.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.1832, allocations: 28.14 kB / 448.5 MB, free: 52.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-06/0.1832, allocations: 6.438 kB / 448.5 MB, free: 52.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.7e-05/0.1833, allocations: 194 kB / 448.6 MB, free: 52.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1833, allocations: 0 / 448.6 MB, free: 52.29 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002538/0.1835, allocations: 69.59 kB / 448.7 MB, free: 52.28 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (efficiency.pav,efficiency.qav,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 (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.994e-05/0.1836, allocations: 102.3 kB / 448.8 MB, free: 52.19 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002292/0.1838, allocations: 186.5 kB / 449 MB, free: 52.13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1838, allocations: 0 / 449 MB, free: 52.13 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.169e-05/0.1839, allocations: 73.81 kB / 449.1 MB, free: 52.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000383/0.1843, allocations: 81.92 kB / 449.1 MB, free: 52.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008338/0.1851, allocations: 0.8139 MB / 450 MB, free: 51.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.1853, allocations: 214.3 kB / 450.2 MB, free: 51.49 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.329e-05/0.1853, allocations: 27.66 kB / 450.2 MB, free: 51.49 MB / 410.7 MB Notification: Performance of SimCode: time 9.62e-07/0.1853, allocations: 3.938 kB / 450.2 MB, free: 51.48 MB / 410.7 MB Notification: Performance of Templates: time 0.004408/0.1897, allocations: 4.491 MB / 454.7 MB, free: 51.05 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.960191640071571] Failed to read output from testmodel.py, exit status != 0: 0.1947852447628975 0.20132784099999995 0.19098065799999994 Calling exit ...