Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.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.0007284/0.0007284, 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.002945/0.002945, 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.8865/0.8865, allocations: 177.1 MB / 205 MB, free: 5.727 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.2155/0.2155, allocations: 29.4 MB / 290.8 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.AC3ph.Generation.LocalGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration") translateModel(PowerSystems.Examples.AC3ph.Generation.LocalGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.461e-05/3.59e-05, allocations: 6.219 kB / 431.5 MB, free: 13.08 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.LocalGeneration): time 0.007306/0.007342, allocations: 8.651 MB / 440.1 MB, free: 4.387 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004533/0.01187, allocations: 3.085 MB / 443.2 MB, free: 1.293 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006327/0.01251, allocations: 51.56 kB / 443.3 MB, free: 1.242 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.01357, allocations: 409.1 kB / 443.7 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001476/0.01505, allocations: 0.8349 MB / 444.5 MB, free: 0 / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1754/0.1905, allocations: 497.4 kB / 445 MB, free: 44.17 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002043/0.1925, allocations: 1.918 MB / 446.9 MB, free: 43.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009575/0.1935, allocations: 0.9427 MB / 447.9 MB, free: 43.82 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001009/0.1945, allocations: 1.079 MB / 448.9 MB, free: 43.71 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006817/0.1952, allocations: 0.7128 MB / 449.6 MB, free: 43.65 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001266/0.1953, allocations: 140.4 kB / 449.8 MB, free: 43.65 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004813/0.1958, allocations: 403.2 kB / 450.2 MB, free: 43.64 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002975/0.1961, allocations: 0.5169 MB / 450.7 MB, free: 43.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003256/0.1964, allocations: 489.7 kB / 451.2 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001482/0.1979, allocations: 2.019 MB / 453.2 MB, free: 43.16 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1979, allocations: 0 / 453.2 MB, free: 43.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1979, allocations: 0 / 453.2 MB, free: 43.16 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.726e-05/0.1979, allocations: 0 / 453.2 MB, free: 43.16 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: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.001835/0.1997, allocations: 1.588 MB / 454.8 MB, free: 42.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.1998, allocations: 16.23 kB / 454.8 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000452/0.2002, allocations: 203.9 kB / 455 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009588/0.2012, allocations: 0.8738 MB / 455.9 MB, free: 41.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.553e-05/0.2012, allocations: 79.72 kB / 455.9 MB, free: 41.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000171/0.2014, allocations: 129.2 kB / 456.1 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/0.2027, allocations: 1.401 MB / 457.5 MB, free: 40.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.647e-05/0.2027, allocations: 0.7031 kB / 457.5 MB, free: 40.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.035e-05/0.2027, allocations: 42.72 kB / 457.5 MB, free: 40.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.724e-05/0.2028, allocations: 71.09 kB / 457.6 MB, free: 40.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.2038, allocations: 1.068 MB / 458.6 MB, free: 40.47 MB / 410.7 MB Notification: The following initial equation is redundant and consistent due to simplifications in RemoveSimpleEquations and therefore removed from the initialization problem: 8.318498358936397e-4 * der(PMgen.generator.i_s[3]) = 0.0 -> 0.0 = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003564/0.2074, allocations: 4.387 MB / 463 MB, free: 37.63 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006601/0.2081, allocations: 0.6544 MB / 463.7 MB, free: 37.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002829/0.2083, allocations: 326.7 kB / 464 MB, free: 37.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.755e-05/0.2084, allocations: 10.81 kB / 464 MB, free: 37.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.2084, allocations: 41.53 kB / 464.1 MB, free: 37.15 MB / 410.7 MB Notification: Performance of pre-optimization done (n=64): time 3.317e-06/0.2084, allocations: 0 / 464.1 MB, free: 37.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=71): time 0.003145/0.2116, allocations: 2.486 MB / 466.5 MB, free: 35.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.2116, allocations: 164.3 kB / 466.7 MB, free: 35.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005135/0.2121, allocations: 0.6912 MB / 467.4 MB, free: 35.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/0.2121, allocations: 36.86 kB / 467.4 MB, free: 35.35 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.2123, allocations: 0.5833 MB / 468 MB, free: 34.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.499e-05/0.2124, allocations: 261.9 kB / 468.3 MB, free: 34.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/0.2126, allocations: 159.3 kB / 468.4 MB, free: 34.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.676e-05/0.2126, allocations: 397.6 kB / 468.8 MB, free: 34.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002902/0.2129, allocations: 299.9 kB / 469.1 MB, free: 34.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003657/0.2133, allocations: 0.6037 MB / 469.7 MB, free: 33.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006832/0.214, allocations: 0.9008 MB / 470.6 MB, free: 33.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.214, allocations: 3.156 kB / 470.6 MB, free: 33.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.001508/0.2155, allocations: 1.327 MB / 471.9 MB, free: 32.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.2155, allocations: 9.406 kB / 472 MB, free: 32.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.2155, allocations: 9.25 kB / 472 MB, free: 32.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007275/0.2162, allocations: 416.4 kB / 472.4 MB, free: 32.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003307/0.2166, allocations: 169.1 kB / 472.5 MB, free: 32.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004484/0.221, allocations: 5.062 MB / 477.6 MB, free: 29.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005258/0.2216, allocations: 51.56 kB / 477.6 MB, free: 29.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-05/0.2216, allocations: 43.83 kB / 477.7 MB, free: 29.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006758/0.2223, allocations: 0.5565 MB / 478.2 MB, free: 29.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003464/0.2226, allocations: 0.5934 MB / 478.8 MB, free: 28.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006571/0.2233, allocations: 0.8795 MB / 479.7 MB, free: 28.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.767e-06/0.2233, allocations: 2.938 kB / 479.7 MB, free: 28.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=112) (initialization_lambda0): time 0.00142/0.2247, allocations: 1.242 MB / 481 MB, free: 27.78 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.2247, allocations: 10.59 kB / 481 MB, free: 27.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.2247, allocations: 9.453 kB / 481 MB, free: 27.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006735/0.2254, allocations: 406.1 kB / 481.4 MB, free: 27.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003549/0.2258, allocations: 170.3 kB / 481.5 MB, free: 27.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004331/0.2301, allocations: 4.849 MB / 486.4 MB, free: 24.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005106/0.2306, allocations: 45.5 kB / 486.4 MB, free: 24.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.242e-05/0.2306, allocations: 40.44 kB / 486.5 MB, free: 24.77 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,PI_vDC.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0001949/0.2308, allocations: 244.2 kB / 486.7 MB, free: 24.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.749e-05/0.2309, allocations: 88.03 kB / 486.8 MB, free: 24.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009467/0.2319, allocations: 0.7872 MB / 487.6 MB, free: 24.15 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.2319, allocations: 12.94 kB / 487.6 MB, free: 24.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.2319, allocations: 5.156 kB / 487.6 MB, free: 24.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.2319, allocations: 3.141 kB / 487.6 MB, free: 24.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001797/0.2337, allocations: 1.594 MB / 489.2 MB, free: 23.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.2337, allocations: 5.312 kB / 489.2 MB, free: 23.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000458/0.2342, allocations: 165.7 kB / 489.4 MB, free: 23.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/0.2342, allocations: 4.156 kB / 489.4 MB, free: 23.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.328e-05/0.2342, allocations: 20.97 kB / 489.4 MB, free: 23.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.2342, allocations: 3.906 kB / 489.4 MB, free: 23.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.2342, allocations: 1.25 kB / 489.4 MB, free: 23.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001194/0.2354, allocations: 1.272 MB / 490.7 MB, free: 22.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002185/0.2356, allocations: 140.8 kB / 490.8 MB, free: 22.63 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.378e-05/0.2357, allocations: 17.38 kB / 490.8 MB, free: 22.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002383/0.2359, allocations: 34.5 kB / 490.9 MB, free: 22.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.048e-05/0.236, allocations: 44.97 kB / 490.9 MB, free: 22.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.823e-05/0.236, allocations: 17.25 kB / 490.9 MB, free: 22.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004204/0.2364, allocations: 467.2 kB / 491.4 MB, free: 22.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.2364, allocations: 0 / 491.4 MB, free: 22.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001392/0.2378, allocations: 468.4 kB / 491.8 MB, free: 22.34 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (PMgen.rotor.phi,PMgen.rotor.w,PMgen.generator.i_s[1],PMgen.generator.i_s[2],capSym.capSym.cap1.v,capSym.capSym.cap2.v,zLoadDC.i,PI_vDC.I.y) * 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 (77): * Single equations (assignments): 76 * 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 0.0002771/0.2381, allocations: 142 kB / 492 MB, free: 22.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002469/0.2406, allocations: 1.831 MB / 493.8 MB, free: 21.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.2406, allocations: 1.312 kB / 493.8 MB, free: 21.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003738/0.241, allocations: 337.5 kB / 494.1 MB, free: 21.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007467/0.2417, allocations: 223.5 kB / 494.4 MB, free: 21.28 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003064/0.2448, allocations: 2.386 MB / 496.7 MB, free: 20.01 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000521/0.2453, allocations: 0.6033 MB / 497.3 MB, free: 19.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002063/0.2455, allocations: 78.11 kB / 497.4 MB, free: 19.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.032e-06/0.2455, allocations: 0 / 497.4 MB, free: 19.8 MB / 410.7 MB Notification: Performance of Templates: time 0.02276/0.2683, allocations: 17.21 MB / 0.5026 GB, free: 13.13 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.401396517641842] Failed to read output from testmodel.py, exit status != 0: 0.27447979524731636 0.281195911 0.08163937 Calling exit ...