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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 109.5 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001977/0.001977, allocations: 189.5 kB / 23.72 MB, free: 4.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 225.6 MB / 252.5 MB, free: 12.99 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1892/0.1892, allocations: 38.54 MB / 346.3 MB, free: 2.094 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002612/0.002612, allocations: 67.89 kB / 484.6 MB, free: 11.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.3707, allocations: 61.28 MB / 0.533 GB, free: 5.543 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.009847/0.3806, allocations: 9.783 MB / 0.5426 GB, free: 14.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006889/0.3875, allocations: 3.589 MB / 0.5461 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008014/0.3883, allocations: 46.41 kB / 0.5462 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003239/0.3915, allocations: 1.152 MB / 0.5473 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00287/0.3944, allocations: 0.9021 MB / 0.5482 GB, free: 9.672 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001594/0.396, allocations: 489.8 kB / 0.5486 GB, free: 9.301 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003529/0.3995, allocations: 1.808 MB / 0.5504 GB, free: 8.297 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001209/0.4007, allocations: 0.6581 MB / 0.551 GB, free: 7.859 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001633/0.4023, allocations: 0.787 MB / 0.5518 GB, free: 7.406 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00166/0.404, allocations: 0.9703 MB / 0.5527 GB, free: 6.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002051/0.4042, allocations: 109.5 kB / 0.5529 GB, free: 6.816 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001454/0.4056, allocations: 0.6097 MB / 0.5534 GB, free: 6.523 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007689/0.4064, allocations: 0.6524 MB / 0.5541 GB, free: 6.105 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001164/0.4076, allocations: 0.7005 MB / 0.5548 GB, free: 5.645 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003419/0.411, allocations: 1.907 MB / 0.5566 GB, free: 3.859 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.411, allocations: 0 / 0.5566 GB, free: 3.859 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.411, allocations: 0 / 0.5566 GB, free: 3.859 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.257e-05/0.411, allocations: 0 / 0.5566 GB, free: 3.859 MB / 398.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.003407/0.4144, allocations: 1.599 MB / 0.5582 GB, free: 2.223 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.4145, allocations: 8.031 kB / 0.5582 GB, free: 2.215 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001694/0.4162, allocations: 275.8 kB / 0.5585 GB, free: 1.945 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002144/0.4183, allocations: 0.8813 MB / 0.5593 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.474e-05/0.4184, allocations: 86.03 kB / 0.5594 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000337/0.4187, allocations: 135.8 kB / 0.5595 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00253/0.4213, allocations: 1.493 MB / 0.561 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.524e-05/0.4213, allocations: 4 kB / 0.561 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/0.4214, allocations: 44 kB / 0.561 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003205/0.4217, allocations: 102.2 kB / 0.5611 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002097/0.4238, allocations: 1.258 MB / 0.5624 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009107/0.4329, allocations: 5.535 MB / 0.5678 GB, free: 7.973 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009426/0.4339, allocations: 0.559 MB / 0.5683 GB, free: 7.395 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005581/0.4344, allocations: 375.6 kB / 0.5687 GB, free: 7.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.164e-05/0.4345, allocations: 12.64 kB / 0.5687 GB, free: 7.008 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.141e-05/0.4345, allocations: 47.09 kB / 0.5687 GB, free: 6.953 MB / 414.1 MB Notification: Performance of pre-optimization done (n=67): time 3.256e-06/0.4345, allocations: 0 / 0.5687 GB, free: 6.953 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.00769/0.4422, allocations: 3.208 MB / 0.5719 GB, free: 3.699 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.483e-05/0.4423, allocations: 89.7 kB / 0.5719 GB, free: 3.594 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009993/0.4433, allocations: 0.7352 MB / 0.5727 GB, free: 2.844 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.32e-05/0.4434, allocations: 41.7 kB / 0.5727 GB, free: 2.797 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004612/0.4438, allocations: 0.6014 MB / 0.5733 GB, free: 2.188 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002814/0.4441, allocations: 285.6 kB / 0.5736 GB, free: 1.906 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002934/0.4444, allocations: 182.6 kB / 0.5737 GB, free: 1.723 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002251/0.4446, allocations: 406.8 kB / 0.5741 GB, free: 1.316 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006364/0.4453, allocations: 389.8 kB / 0.5745 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008627/0.4461, allocations: 0.6613 MB / 0.5751 GB, free: 160 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001652/0.4478, allocations: 1.144 MB / 0.5763 GB, free: 14.89 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/0.4478, allocations: 4 kB / 0.5763 GB, free: 14.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003522/0.4513, allocations: 1.69 MB / 0.5779 GB, free: 13.18 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.4513, allocations: 8 kB / 0.5779 GB, free: 13.17 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002736/0.4541, allocations: 1.278 MB / 0.5792 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002725/0.4568, allocations: 0.5769 MB / 0.5797 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008332/0.4576, allocations: 179.7 kB / 0.5799 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01611/0.4737, allocations: 9.954 MB / 0.5896 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/0.4748, allocations: 47.97 kB / 0.5897 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001777/0.475, allocations: 43.98 kB / 0.5897 GB, free: 0.5938 MB / 430.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.0008881/0.4759, allocations: 389.5 kB / 0.5901 GB, free: 208 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002705/0.4762, allocations: 95.39 kB / 0.5902 GB, free: 112 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002641/0.4788, allocations: 1.24 MB / 0.5914 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.441e-05/0.4788, allocations: 8 kB / 0.5914 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.541e-05/0.4789, allocations: 4 kB / 0.5914 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.4789, allocations: 7.922 kB / 0.5914 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005251/0.4841, allocations: 2.367 MB / 0.5937 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.4841, allocations: 4.219 kB / 0.5937 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005095/0.4846, allocations: 107.8 kB / 0.5938 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001179/0.4858, allocations: 376 kB / 0.5942 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.856e-05/0.4859, allocations: 27.97 kB / 0.5942 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009904/0.4958, allocations: 8.785 MB / 0.6028 GB, free: 2.492 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.4958, allocations: 112 / 0.6028 GB, free: 2.492 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003384/0.4992, allocations: 1.686 MB / 0.6044 GB, free: 0.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007969/0.5, allocations: 155.2 kB / 0.6046 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003408/0.5003, allocations: 31.98 kB / 0.6046 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007423/0.5011, allocations: 23.98 kB / 0.6046 GB, free: 0.543 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001965/0.5013, allocations: 64.47 kB / 0.6047 GB, free: 492 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.085e-05/0.5013, allocations: 27.98 kB / 0.6047 GB, free: 464 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001119/0.5024, allocations: 0.5031 MB / 0.6052 GB, free: 15.95 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5024, allocations: 0 / 0.6052 GB, free: 15.95 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002043/0.5045, allocations: 363.9 kB / 0.6056 GB, free: 15.59 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.0004944/0.505, allocations: 147 kB / 0.6057 GB, free: 15.45 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003434/0.5084, allocations: 1.525 MB / 0.6072 GB, free: 13.87 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/0.5084, allocations: 0.5625 kB / 0.6072 GB, free: 13.87 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001951/0.5104, allocations: 1.079 MB / 0.6083 GB, free: 12.72 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001637/0.512, allocations: 200.2 kB / 0.6084 GB, free: 12.53 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006226/0.5182, allocations: 2.764 MB / 0.6111 GB, free: 9.715 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001709/0.52, allocations: 1.255 MB / 0.6124 GB, free: 8.43 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007746/0.5207, allocations: 219.6 kB / 0.6126 GB, free: 8.211 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000252/0.521, allocations: 67.36 kB / 0.6126 GB, free: 8.145 MB / 462.1 MB Notification: Performance of SimCode: time 9.62e-07/0.521, allocations: 4 kB / 0.6126 GB, free: 8.141 MB / 462.1 MB Notification: Performance of Templates: time 0.03554/0.5565, allocations: 16.49 MB / 0.6287 GB, free: 7.73 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.005706705152988]