Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.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.0007886/0.0007886, 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.003344/0.003344, allocations: 161.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.8658/0.8658, allocations: 177.2 MB / 205 MB, free: 5.715 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.2357/0.2357, allocations: 29.41 MB / 290.8 MB, free: 2.43 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.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 431.5 MB, free: 13.08 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.755e-05/2.902e-05, allocations: 6.219 kB / 431.5 MB, free: 13.07 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Machines): time 0.004424/0.004453, allocations: 4.432 MB / 435.9 MB, free: 8.609 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00155/0.006003, allocations: 1.402 MB / 437.3 MB, free: 7.203 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002143/0.006217, allocations: 27.75 kB / 437.3 MB, free: 7.176 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00039/0.006607, allocations: 111.1 kB / 437.5 MB, free: 7.066 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000592/0.007199, allocations: 290.1 kB / 437.7 MB, free: 6.781 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002397/0.007439, allocations: 111.8 kB / 437.8 MB, free: 6.672 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005727/0.008012, allocations: 0.5134 MB / 438.4 MB, free: 6.156 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001869/0.008198, allocations: 116.4 kB / 438.5 MB, free: 6.039 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003168/0.008515, allocations: 283.2 kB / 438.7 MB, free: 5.762 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002268/0.008742, allocations: 175.5 kB / 438.9 MB, free: 5.59 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.318e-05/0.008775, allocations: 28 kB / 438.9 MB, free: 5.562 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.316e-05/0.008808, allocations: 28 kB / 439 MB, free: 5.535 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.409e-05/0.008892, allocations: 107.6 kB / 439.1 MB, free: 5.43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.008997, allocations: 123.7 kB / 439.2 MB, free: 5.309 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003521/0.00935, allocations: 370.8 kB / 439.6 MB, free: 4.945 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.009353, allocations: 0 / 439.6 MB, free: 4.945 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.009354, allocations: 4 kB / 439.6 MB, free: 4.941 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.002e-06/0.00936, allocations: 0 / 439.6 MB, free: 4.941 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008128/0.01017, allocations: 0.6032 MB / 440.2 MB, free: 4.309 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.01021, allocations: 15.98 kB / 440.2 MB, free: 4.293 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.328e-05/0.01028, allocations: 36.7 kB / 440.2 MB, free: 4.258 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004515/0.01073, allocations: 328.8 kB / 440.5 MB, free: 3.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.01075, allocations: 21.03 kB / 440.6 MB, free: 3.891 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.16e-05/0.01079, allocations: 24.38 kB / 440.6 MB, free: 3.867 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003453/0.01114, allocations: 343.5 kB / 440.9 MB, free: 3.496 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.01115, allocations: 3.953 kB / 440.9 MB, free: 3.492 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.01117, allocations: 16 kB / 440.9 MB, free: 3.477 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.01118, allocations: 8 kB / 441 MB, free: 3.469 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002214/0.0114, allocations: 201.8 kB / 441.1 MB, free: 3.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009851/0.01239, allocations: 1.34 MB / 442.5 MB, free: 1.855 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002737/0.01266, allocations: 186.3 kB / 442.7 MB, free: 1.637 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.254e-05/0.01273, allocations: 79.47 kB / 442.7 MB, free: 1.547 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.01275, allocations: 8 kB / 442.8 MB, free: 1.539 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.01277, allocations: 30.56 kB / 442.8 MB, free: 1.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 1.453e-06/0.01278, allocations: 0 / 442.8 MB, free: 1.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=18): time 0.0007938/0.01357, allocations: 0.6217 MB / 443.4 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.116e-05/0.01364, allocations: 136.5 kB / 443.5 MB, free: 0.6797 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.01385, allocations: 288.4 kB / 443.8 MB, free: 396 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.01386, allocations: 30.08 kB / 443.8 MB, free: 360 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.01399, allocations: 220.4 kB / 444.1 MB, free: 132 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.456e-05/0.01403, allocations: 75.41 kB / 444.1 MB, free: 56 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1578/0.1719, allocations: 50.42 kB / 444.2 MB, free: 54.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.172, allocations: 342.3 kB / 444.5 MB, free: 54.33 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.1721, allocations: 51.97 kB / 444.6 MB, free: 54.33 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.112e-05/0.1722, allocations: 151 kB / 444.7 MB, free: 54.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/0.1724, allocations: 218.9 kB / 444.9 MB, free: 54.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.1724, allocations: 3.125 kB / 444.9 MB, free: 54.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002762/0.1726, allocations: 249.4 kB / 445.2 MB, free: 54.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.1727, allocations: 6.656 kB / 445.2 MB, free: 54.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.1727, allocations: 3.531 kB / 445.2 MB, free: 54.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.1727, allocations: 6.781 kB / 445.2 MB, free: 54.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002881/0.173, allocations: 80.73 kB / 445.3 MB, free: 54.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004855/0.1735, allocations: 1.255 MB / 446.5 MB, free: 52.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.1736, allocations: 10.12 kB / 446.5 MB, free: 52.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.1736, allocations: 13.25 kB / 446.6 MB, free: 52.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001262/0.1737, allocations: 157.9 kB / 446.7 MB, free: 52.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.124e-05/0.1738, allocations: 34.33 kB / 446.7 MB, free: 52.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002022/0.174, allocations: 189.7 kB / 446.9 MB, free: 52.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.174, allocations: 0 / 446.9 MB, free: 52.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.174, allocations: 6.969 kB / 446.9 MB, free: 52.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.174, allocations: 0 / 446.9 MB, free: 52.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004291/0.1744, allocations: 471.5 kB / 447.4 MB, free: 52.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1744, allocations: 1.75 kB / 447.4 MB, free: 52.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001355/0.1745, allocations: 37.11 kB / 447.4 MB, free: 52.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1745, allocations: 3.219 kB / 447.4 MB, free: 52.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.1746, allocations: 13.73 kB / 447.4 MB, free: 52.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.1746, allocations: 3.938 kB / 447.5 MB, free: 52.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.1746, allocations: 3.031 kB / 447.5 MB, free: 52.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002401/0.1748, allocations: 494.7 kB / 447.9 MB, free: 52.03 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.358e-05/0.1748, allocations: 25.02 kB / 448 MB, free: 52.03 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.1748, allocations: 7.281 kB / 448 MB, free: 52.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.1749, allocations: 3 kB / 448 MB, free: 52.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.164e-05/0.175, allocations: 21.16 kB / 448 MB, free: 52.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.175, allocations: 8.828 kB / 448 MB, free: 52.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.935e-05/0.1751, allocations: 196.8 kB / 448.2 MB, free: 51.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1751, allocations: 3 kB / 448.2 MB, free: 51.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002618/0.1753, allocations: 59.66 kB / 448.3 MB, free: 51.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (rotor.phi,rotor.w,motor.i) * 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 8.471e-05/0.1754, allocations: 103.5 kB / 448.4 MB, free: 51.81 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002447/0.1757, allocations: 155.1 kB / 448.5 MB, free: 51.76 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1757, allocations: 3.344 kB / 448.5 MB, free: 51.76 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.364e-05/0.1757, allocations: 66.28 kB / 448.6 MB, free: 51.74 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004248/0.1761, allocations: 83.3 kB / 448.7 MB, free: 51.72 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008831/0.177, allocations: 0.7577 MB / 449.4 MB, free: 51.28 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.1771, allocations: 199.4 kB / 449.6 MB, free: 51.19 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.242e-05/0.1772, allocations: 31.62 kB / 449.6 MB, free: 51.18 MB / 410.7 MB Notification: Performance of SimCode: time 6.71e-07/0.1772, allocations: 0 / 449.6 MB, free: 51.18 MB / 410.7 MB Notification: Performance of Templates: time 0.003903/0.1811, allocations: 4.692 MB / 454.3 MB, free: 50.79 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.2406782899051905] Failed to read output from testmodel.py, exit status != 0: 0.18637074995785952 0.1975664 0.18586296700000002 Calling exit ...