Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.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.001026/0.001026, 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.005051/0.005051, allocations: 160.5 kB / 24.7 MB, free: 9.43 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.8981/0.8981, 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.2133/0.2133, allocations: 29.41 MB / 290.8 MB, free: 2.418 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.Introductory.ReferenceInertial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial") translateModel(PowerSystems.Examples.Introductory.ReferenceInertial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.405e-06/2.405e-06, allocations: 0 / 431.5 MB, free: 13.12 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.711e-05/2.952e-05, allocations: 2.281 kB / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.004279/0.004308, allocations: 4.319 MB / 435.8 MB, free: 8.77 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001916/0.006224, allocations: 1.39 MB / 437.2 MB, free: 7.375 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002146/0.006439, allocations: 23.81 kB / 437.2 MB, free: 7.352 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000726/0.007165, allocations: 358.5 kB / 437.5 MB, free: 7 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000466/0.007631, allocations: 234.6 kB / 437.8 MB, free: 6.77 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005789/0.00821, allocations: 267.1 kB / 438 MB, free: 6.508 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005254/0.008735, allocations: 0.5416 MB / 438.6 MB, free: 5.965 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003388/0.009074, allocations: 221.5 kB / 438.8 MB, free: 5.746 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004175/0.009492, allocations: 334.9 kB / 439.1 MB, free: 5.418 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005682/0.01006, allocations: 279.3 kB / 439.4 MB, free: 5.145 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.599e-05/0.0101, allocations: 32 kB / 439.4 MB, free: 5.113 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002575/0.01035, allocations: 151.7 kB / 439.6 MB, free: 4.965 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001511/0.0105, allocations: 231.4 kB / 439.8 MB, free: 4.738 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.01063, allocations: 167.6 kB / 440 MB, free: 4.574 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004787/0.01111, allocations: 0.5725 MB / 440.5 MB, free: 4 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.01111, allocations: 0 / 440.5 MB, free: 4 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.01111, allocations: 3.938 kB / 440.5 MB, free: 3.996 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.01112, allocations: 0 / 440.5 MB, free: 3.996 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.0008778/0.012, allocations: 0.6746 MB / 441.2 MB, free: 3.289 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.01203, allocations: 11.98 kB / 441.2 MB, free: 3.277 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004171/0.01245, allocations: 116.5 kB / 441.3 MB, free: 3.164 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004751/0.01293, allocations: 355.9 kB / 441.7 MB, free: 2.781 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.01295, allocations: 29.38 kB / 441.7 MB, free: 2.754 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.571e-05/0.01304, allocations: 44.55 kB / 441.7 MB, free: 2.711 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005745/0.01362, allocations: 0.6251 MB / 442.4 MB, free: 2.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.01364, allocations: 3.938 kB / 442.4 MB, free: 2.016 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.18e-05/0.01367, allocations: 23.98 kB / 442.4 MB, free: 1.992 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.775e-05/0.01374, allocations: 32.98 kB / 442.4 MB, free: 1.961 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004738/0.01421, allocations: 475.5 kB / 442.9 MB, free: 1.496 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.175/0.1892, allocations: 2.664 MB / 445.6 MB, free: 52.87 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003148/0.1896, allocations: 213.1 kB / 445.8 MB, free: 52.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.1897, allocations: 134 kB / 445.9 MB, free: 52.81 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.77e-05/0.1897, allocations: 13.52 kB / 445.9 MB, free: 52.81 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.1897, allocations: 39.09 kB / 446 MB, free: 52.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 2.615e-06/0.1897, allocations: 0 / 446 MB, free: 52.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.001085/0.1908, allocations: 0.8907 MB / 446.8 MB, free: 52.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.1908, allocations: 80.14 kB / 446.9 MB, free: 52.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.191, allocations: 329.9 kB / 447.2 MB, free: 52.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.191, allocations: 36.77 kB / 447.3 MB, free: 52.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.095e-05/0.1911, allocations: 279.4 kB / 447.6 MB, free: 52.03 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.042e-05/0.1912, allocations: 107.5 kB / 447.7 MB, free: 51.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.576e-05/0.1912, allocations: 93.02 kB / 447.7 MB, free: 51.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.525e-05/0.1913, allocations: 350.5 kB / 448.1 MB, free: 51.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.1914, allocations: 144.7 kB / 448.2 MB, free: 51.53 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/0.1916, allocations: 347.9 kB / 448.6 MB, free: 51.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003357/0.1919, allocations: 0.5192 MB / 449.1 MB, free: 50.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.1919, allocations: 3.219 kB / 449.1 MB, free: 50.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004251/0.1924, allocations: 0.528 MB / 449.6 MB, free: 50.67 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.1924, allocations: 13.8 kB / 449.6 MB, free: 50.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.1924, allocations: 10.02 kB / 449.6 MB, free: 50.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/0.1924, allocations: 9.562 kB / 449.7 MB, free: 50.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002388/0.1926, allocations: 119.7 kB / 449.8 MB, free: 50.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.1927, allocations: 17.38 kB / 449.8 MB, free: 50.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001399/0.1928, allocations: 24.45 kB / 449.8 MB, free: 50.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/0.1928, allocations: 22.41 kB / 449.8 MB, free: 50.64 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (58): * Single equations (assignments): 58 * 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.0001456/0.193, allocations: 219.9 kB / 450 MB, free: 50.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.06e-05/0.193, allocations: 28.69 kB / 450.1 MB, free: 50.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003411/0.1933, allocations: 366.3 kB / 450.4 MB, free: 50.31 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.1933, allocations: 5.609 kB / 450.4 MB, free: 50.31 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.1934, allocations: 0 / 450.4 MB, free: 50.31 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.1934, allocations: 6.438 kB / 450.4 MB, free: 50.31 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000743/0.1941, allocations: 0.763 MB / 451.2 MB, free: 49.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1941, allocations: 3.219 kB / 451.2 MB, free: 49.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/0.1943, allocations: 64.19 kB / 451.3 MB, free: 49.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.1943, allocations: 3.281 kB / 451.3 MB, free: 49.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.1943, allocations: 14.17 kB / 451.3 MB, free: 49.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.1943, allocations: 3.438 kB / 451.3 MB, free: 49.87 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.1943, allocations: 1.75 kB / 451.3 MB, free: 49.87 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004216/0.1947, allocations: 0.5826 MB / 451.9 MB, free: 49.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.393e-05/0.1947, allocations: 33.05 kB / 451.9 MB, free: 49.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.1948, allocations: 14.53 kB / 451.9 MB, free: 49.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.727e-05/0.1949, allocations: 13.92 kB / 451.9 MB, free: 49.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.934e-05/0.1949, allocations: 16.97 kB / 452 MB, free: 49.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.1949, allocations: 12.77 kB / 452 MB, free: 49.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001047/0.195, allocations: 217.3 kB / 452.2 MB, free: 49.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.195, allocations: 0 / 452.2 MB, free: 49.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002899/0.1953, allocations: 89.69 kB / 452.3 MB, free: 49.39 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * 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): 30 * 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 9.559e-05/0.1954, allocations: 106.2 kB / 452.4 MB, free: 49.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003304/0.1957, allocations: 352.4 kB / 452.7 MB, free: 49.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1957, allocations: 0 / 452.7 MB, free: 49.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.1958, allocations: 135 kB / 452.8 MB, free: 49.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.1962, allocations: 72.47 kB / 452.9 MB, free: 49.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009264/0.1971, allocations: 0.9584 MB / 453.9 MB, free: 48.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/0.1972, allocations: 255.3 kB / 454.1 MB, free: 48.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.884e-05/0.1973, allocations: 34.38 kB / 454.2 MB, free: 48.47 MB / 410.7 MB Notification: Performance of SimCode: time 7.81e-07/0.1973, allocations: 0 / 454.2 MB, free: 48.47 MB / 410.7 MB Notification: Performance of Templates: time 0.005099/0.2024, allocations: 5.219 MB / 459.4 MB, free: 48.06 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.sim & ./PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.390729290433228] Failed to read output from testmodel.py, exit status != 0: 0.20808945689350367 0.21466573600000002 0.202055909 Calling exit ...