Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.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.0008065/0.0008065, 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.005651/0.005651, allocations: 160.7 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.8785/0.8785, 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.2261/0.2261, allocations: 29.42 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.AC3ph.Generation.TurbineGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 431.5 MB, free: 13.06 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.144e-05/2.312e-05, allocations: 4.109 kB / 431.5 MB, free: 13.06 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.008854/0.008877, allocations: 8.922 MB / 440.4 MB, free: 4.098 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004727/0.0136, allocations: 3.361 MB / 443.8 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004078/0.01401, allocations: 47.62 kB / 443.8 MB, free: 0.6797 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1481/0.1621, allocations: 1.067 MB / 444.9 MB, free: 44.04 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00185/0.164, allocations: 0.9325 MB / 445.8 MB, free: 43.98 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008201/0.1648, allocations: 0.4947 MB / 446.3 MB, free: 43.96 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001004/0.1658, allocations: 1.854 MB / 448.2 MB, free: 43.64 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005864/0.1664, allocations: 0.7436 MB / 448.9 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006269/0.167, allocations: 1.037 MB / 449.9 MB, free: 43.44 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005873/0.1676, allocations: 0.8544 MB / 450.8 MB, free: 43.38 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.796e-05/0.1677, allocations: 105.4 kB / 450.9 MB, free: 43.38 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004736/0.1681, allocations: 0.5884 MB / 451.5 MB, free: 43.35 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002664/0.1684, allocations: 0.6795 MB / 452.2 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002704/0.1687, allocations: 495.5 kB / 452.7 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.1698, allocations: 1.951 MB / 454.6 MB, free: 42.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.1698, allocations: 0 / 454.6 MB, free: 42.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1698, allocations: 0 / 454.6 MB, free: 42.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.491e-05/0.1698, allocations: 0 / 454.6 MB, free: 42.93 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: 298 * Number of variables: 298 Notification: Performance of Generate backend data structure: time 0.001525/0.1713, allocations: 1.58 MB / 456.2 MB, free: 41.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.1713, allocations: 13.48 kB / 456.2 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008531/0.1722, allocations: 313.4 kB / 456.5 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009329/0.1731, allocations: 0.8811 MB / 457.4 MB, free: 41.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.405e-05/0.1732, allocations: 82.2 kB / 457.5 MB, free: 41.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001815/0.1733, allocations: 141 kB / 457.6 MB, free: 41.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.1745, allocations: 1.492 MB / 459.1 MB, free: 40.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.032e-05/0.1745, allocations: 7.203 kB / 459.1 MB, free: 40.76 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.259e-05/0.1746, allocations: 42.72 kB / 459.1 MB, free: 40.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001392/0.1747, allocations: 106.5 kB / 459.2 MB, free: 40.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.1758, allocations: 1.245 MB / 460.5 MB, free: 40.33 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003379/0.1792, allocations: 4.698 MB / 465.2 MB, free: 37.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005123/0.1797, allocations: 0.5614 MB / 465.8 MB, free: 37.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002975/0.18, allocations: 380.4 kB / 466.1 MB, free: 37.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.354e-05/0.18, allocations: 13.97 kB / 466.1 MB, free: 37.08 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.18, allocations: 41.25 kB / 466.2 MB, free: 37.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=67): time 1.783e-06/0.18, allocations: 0 / 466.2 MB, free: 37.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=74): time 0.003504/0.1836, allocations: 3.193 MB / 469.4 MB, free: 35.72 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.1836, allocations: 84.2 kB / 469.5 MB, free: 35.62 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003949/0.184, allocations: 0.6866 MB / 470.1 MB, free: 35.33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.184, allocations: 40.92 kB / 470.2 MB, free: 35.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/0.1842, allocations: 0.6183 MB / 470.8 MB, free: 34.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.227e-05/0.1843, allocations: 273.8 kB / 471.1 MB, free: 34.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/0.1844, allocations: 183.1 kB / 471.2 MB, free: 34.49 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.415e-05/0.1845, allocations: 401.3 kB / 471.6 MB, free: 34.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003333/0.1848, allocations: 390.2 kB / 472 MB, free: 34.02 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003808/0.1852, allocations: 0.6642 MB / 472.7 MB, free: 33.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007774/0.186, allocations: 1.144 MB / 473.8 MB, free: 32.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.186, allocations: 3.281 kB / 473.8 MB, free: 32.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001651/0.1876, allocations: 1.684 MB / 475.5 MB, free: 32.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.1876, allocations: 8.812 kB / 475.5 MB, free: 32.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001339/0.189, allocations: 1.285 MB / 476.8 MB, free: 31.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009203/0.1899, allocations: 0.5804 MB / 477.4 MB, free: 31.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003119/0.1902, allocations: 170.2 kB / 477.6 MB, free: 31.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00626/0.1965, allocations: 9.664 MB / 487.2 MB, free: 24.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003438/0.1968, allocations: 48.45 kB / 487.3 MB, free: 24.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.892e-05/0.1969, allocations: 40.5 kB / 487.3 MB, free: 24.96 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (93): * Single equations (assignments): 89 * 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,4,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003665/0.1972, allocations: 382.2 kB / 487.7 MB, free: 24.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.472e-05/0.1973, allocations: 100.6 kB / 487.8 MB, free: 24.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001318/0.1986, allocations: 1.23 MB / 489 MB, free: 24.19 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.1986, allocations: 10.88 kB / 489 MB, free: 24.19 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1986, allocations: 11.19 kB / 489 MB, free: 24.19 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.1986, allocations: 8.641 kB / 489 MB, free: 24.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002312/0.201, allocations: 2.122 MB / 491.2 MB, free: 23.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.201, allocations: 2.781 kB / 491.2 MB, free: 23.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002605/0.2012, allocations: 108.2 kB / 491.3 MB, free: 23.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006465/0.2019, allocations: 375.9 kB / 491.6 MB, free: 23.17 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.422e-05/0.2019, allocations: 26.66 kB / 491.7 MB, free: 23.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004041/0.206, allocations: 8.619 MB / 0.4886 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.206, allocations: 2.625 kB / 0.4886 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001789/0.2077, allocations: 1.664 MB / 0.4902 GB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002011/0.2079, allocations: 144.2 kB / 0.4903 GB, free: 15.01 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.634e-05/0.208, allocations: 29.28 kB / 0.4903 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002233/0.2082, allocations: 30.05 kB / 0.4904 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.2083, allocations: 70.27 kB / 0.4904 GB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.119e-05/0.2084, allocations: 21.66 kB / 0.4905 GB, free: 14.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004232/0.2088, allocations: 476.5 kB / 0.4909 GB, free: 14.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2088, allocations: 0 / 0.4909 GB, free: 14.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009666/0.2098, allocations: 363.5 kB / 0.4913 GB, free: 14.73 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 8 (turboGrp.phi,turboGrp.w,generator.i_s[1],generator.i_s[2],generator.i_s[3],RLgen1.i[1],RLgen1.i[2],RLgen1.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 (57): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,10,100.0%), (1,3,100.0%), (1,3,100.0%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002403/0.21, allocations: 141.7 kB / 0.4914 GB, free: 14.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001441/0.2114, allocations: 1.531 MB / 0.4929 GB, free: 13.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2114, allocations: 1.125 kB / 0.4929 GB, free: 13.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008184/0.2123, allocations: 1.064 MB / 0.4939 GB, free: 13.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005971/0.2129, allocations: 204.7 kB / 0.4941 GB, free: 12.97 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002654/0.2155, allocations: 2.651 MB / 0.4967 GB, free: 11.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005853/0.2161, allocations: 0.6604 MB / 0.4974 GB, free: 11.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/0.2162, allocations: 68.02 kB / 0.4974 GB, free: 11.42 MB / 410.7 MB Notification: Performance of SimCode: time 5.41e-07/0.2162, allocations: 0 / 0.4974 GB, free: 11.42 MB / 410.7 MB Notification: Performance of Templates: time 0.02187/0.2381, allocations: 33.34 MB / 0.53 GB, free: 120 kB / 426.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.9091159189119935] Failed to read output from testmodel.py, exit status != 0: 0.24522693920880556 0.257967592 0.085512481 Calling exit ...