Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001656/0.001656, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.001674/0.001674, allocations: 215.3 kB / 23.73 MB, free: 4.156 MB / 14.72 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 1.576/1.576, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1969/0.1969, allocations: 38.54 MB / 352.5 MB, free: 12.33 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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="mat",numberOfIntervals=2500,variableFilter="Time|busbar.alpha_v|busbar1.alpha_v|generator.powerAngle|sensor.p.1.|sensor.p.2.|sensor.p.3.|sensor1.p.1.|sensor1.p.2.|sensor1.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|busbar.alpha_v|busbar1.alpha_v|generator.powerAngle|sensor.p.1.|sensor.p.2.|sensor.p.3.|sensor1.p.1.|sensor1.p.2.|sensor1.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002428/0.002428, allocations: 75.89 kB / 493 MB, free: 4.188 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.355, allocations: 62.46 MB / 0.5424 GB, free: 432 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.01219/0.3672, allocations: 8.998 MB / 0.5512 GB, free: 9.605 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006779/0.374, allocations: 3.375 MB / 0.5545 GB, free: 6.977 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006664/0.3746, allocations: 45.94 kB / 0.5546 GB, free: 6.953 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00321/0.3779, allocations: 1.073 MB / 0.5556 GB, free: 6.148 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003459/0.3813, allocations: 0.9079 MB / 0.5565 GB, free: 5.438 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001542/0.3829, allocations: 489.9 kB / 0.557 GB, free: 5.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003207/0.3861, allocations: 1.811 MB / 0.5587 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001173/0.3872, allocations: 0.7394 MB / 0.5595 GB, free: 2.742 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001291/0.3885, allocations: 0.7977 MB / 0.5602 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001416/0.3899, allocations: 0.9188 MB / 0.5611 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001863/0.3901, allocations: 104 kB / 0.5612 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001383/0.3915, allocations: 0.5732 MB / 0.5618 GB, free: 352 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007399/0.3923, allocations: 0.6545 MB / 0.5624 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007332/0.393, allocations: 0.5794 MB / 0.563 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002422/0.3954, allocations: 1.934 MB / 0.5649 GB, free: 13.16 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.3954, allocations: 4 kB / 0.5649 GB, free: 13.16 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3954, allocations: 0 / 0.5649 GB, free: 13.16 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.121e-05/0.3954, allocations: 4 kB / 0.5649 GB, free: 13.16 MB / 414.1 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.003254/0.3987, allocations: 1.595 MB / 0.5665 GB, free: 11.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.3987, allocations: 11.98 kB / 0.5665 GB, free: 11.51 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001817/0.4005, allocations: 319.7 kB / 0.5668 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00209/0.4026, allocations: 0.8657 MB / 0.5676 GB, free: 10.3 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.142e-05/0.4027, allocations: 86.09 kB / 0.5677 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003417/0.4031, allocations: 139.8 kB / 0.5678 GB, free: 10.08 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002342/0.4054, allocations: 1.489 MB / 0.5693 GB, free: 8.52 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.676e-05/0.4054, allocations: 7.953 kB / 0.5693 GB, free: 8.512 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/0.4055, allocations: 47.98 kB / 0.5693 GB, free: 8.465 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002916/0.4058, allocations: 94.17 kB / 0.5694 GB, free: 8.371 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002174/0.408, allocations: 1.254 MB / 0.5707 GB, free: 7.109 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008808/0.4168, allocations: 4.693 MB / 0.5752 GB, free: 2.195 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/0.4178, allocations: 0.5621 MB / 0.5758 GB, free: 1.613 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000593/0.4184, allocations: 384 kB / 0.5762 GB, free: 1.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.706e-05/0.4185, allocations: 16.59 kB / 0.5762 GB, free: 1.215 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.783e-05/0.4185, allocations: 39.22 kB / 0.5762 GB, free: 1.168 MB / 414.1 MB Notification: Performance of pre-optimization done (n=67): time 3.417e-06/0.4186, allocations: 0 / 0.5762 GB, free: 1.168 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.007876/0.4264, allocations: 3.198 MB / 0.5793 GB, free: 13.93 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.458e-05/0.4265, allocations: 89.7 kB / 0.5794 GB, free: 13.82 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009225/0.4274, allocations: 0.6918 MB / 0.5801 GB, free: 13.12 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.208e-05/0.4275, allocations: 41.7 kB / 0.5801 GB, free: 13.07 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000514/0.428, allocations: 0.6091 MB / 0.5807 GB, free: 12.46 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002766/0.4283, allocations: 289.6 kB / 0.581 GB, free: 12.17 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002884/0.4286, allocations: 182.6 kB / 0.5812 GB, free: 11.99 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002552/0.4288, allocations: 394.7 kB / 0.5816 GB, free: 11.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006522/0.4295, allocations: 389.8 kB / 0.5819 GB, free: 11.21 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008914/0.4304, allocations: 0.6613 MB / 0.5826 GB, free: 10.43 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001669/0.432, allocations: 1.148 MB / 0.5837 GB, free: 9.168 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.655e-05/0.4321, allocations: 4 kB / 0.5837 GB, free: 9.164 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003617/0.4357, allocations: 1.675 MB / 0.5853 GB, free: 7.465 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/0.4357, allocations: 14.97 kB / 0.5853 GB, free: 7.453 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002752/0.4385, allocations: 1.286 MB / 0.5866 GB, free: 6.156 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001985/0.4405, allocations: 0.5769 MB / 0.5872 GB, free: 5.566 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006227/0.4411, allocations: 171.7 kB / 0.5873 GB, free: 5.398 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01359/0.4547, allocations: 9.667 MB / 0.5968 GB, free: 11.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000939/0.4556, allocations: 47.92 kB / 0.5968 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/0.4557, allocations: 44 kB / 0.5969 GB, free: 11.23 MB / 446.1 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.0007215/0.4564, allocations: 385.3 kB / 0.5972 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/0.4566, allocations: 87.44 kB / 0.5973 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002587/0.4592, allocations: 1.24 MB / 0.5985 GB, free: 9.488 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.4592, allocations: 8 kB / 0.5985 GB, free: 9.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.4592, allocations: 4 kB / 0.5985 GB, free: 9.477 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.4592, allocations: 3.984 kB / 0.5985 GB, free: 9.473 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004538/0.4638, allocations: 2.126 MB / 0.6006 GB, free: 7.273 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.4638, allocations: 4 kB / 0.6006 GB, free: 7.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004862/0.4643, allocations: 107.9 kB / 0.6007 GB, free: 7.164 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0011/0.4654, allocations: 376 kB / 0.6011 GB, free: 6.781 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.537e-05/0.4654, allocations: 27.98 kB / 0.6011 GB, free: 6.754 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009083/0.4745, allocations: 8.628 MB / 0.6095 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-05/0.4745, allocations: 11.94 kB / 0.6095 GB, free: 13.6 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003209/0.4777, allocations: 1.663 MB / 0.6112 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005323/0.4783, allocations: 159.2 kB / 0.6113 GB, free: 11.72 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/0.4784, allocations: 23.98 kB / 0.6113 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004429/0.4788, allocations: 27.98 kB / 0.6114 GB, free: 11.67 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001744/0.479, allocations: 72.47 kB / 0.6114 GB, free: 11.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.229e-05/0.4791, allocations: 20 kB / 0.6114 GB, free: 11.58 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000704/0.4798, allocations: 467 kB / 0.6119 GB, free: 11.13 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4798, allocations: 0 / 0.6119 GB, free: 11.13 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001599/0.4814, allocations: 363.9 kB / 0.6122 GB, free: 10.78 MB / 462.1 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.0004052/0.4818, allocations: 150.6 kB / 0.6124 GB, free: 10.62 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002814/0.4846, allocations: 1.536 MB / 0.6139 GB, free: 9.039 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.4846, allocations: 4.25 kB / 0.6139 GB, free: 9.035 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001701/0.4863, allocations: 1.068 MB / 0.6149 GB, free: 7.898 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.4873, allocations: 195.9 kB / 0.6151 GB, free: 7.715 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004635/0.4919, allocations: 2.755 MB / 0.6178 GB, free: 4.906 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008385/0.4928, allocations: 0.6603 MB / 0.6185 GB, free: 4.215 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005508/0.4933, allocations: 211.2 kB / 0.6187 GB, free: 4.004 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/0.4935, allocations: 71.42 kB / 0.6187 GB, free: 3.934 MB / 462.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4935, allocations: 0 / 0.6187 GB, free: 3.934 MB / 462.1 MB Notification: Performance of Templates: time 0.03027/0.5237, allocations: 16.38 MB / 0.6347 GB, free: 3.707 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.0466640796512365]