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.001503/0.001503, allocations: 114.9 kB / 19.04 MB, free: 3.281 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.001566/0.001566, allocations: 190 kB / 22.21 MB, free: 112 kB / 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.386/1.386, allocations: 225.6 MB / 250.8 MB, free: 13.41 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.1809/0.1809, allocations: 38.52 MB / 344.5 MB, free: 2.582 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.001953/0.001953, allocations: 67.89 kB / 482.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3375, allocations: 61.23 MB / 0.5306 GB, free: 5.496 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.01013/0.3477, allocations: 9.757 MB / 0.5401 GB, free: 14.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006776/0.3544, allocations: 3.596 MB / 0.5436 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007352/0.3552, allocations: 33.94 kB / 0.5437 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003163/0.3583, allocations: 1.132 MB / 0.5448 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002641/0.361, allocations: 0.8985 MB / 0.5456 GB, free: 9.891 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001429/0.3624, allocations: 475 kB / 0.5461 GB, free: 9.535 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00263/0.365, allocations: 1.813 MB / 0.5479 GB, free: 8.527 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001055/0.3661, allocations: 0.6559 MB / 0.5485 GB, free: 8.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001389/0.3675, allocations: 0.7785 MB / 0.5493 GB, free: 7.637 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001511/0.369, allocations: 0.965 MB / 0.5502 GB, free: 7.055 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001849/0.3692, allocations: 104.5 kB / 0.5503 GB, free: 7.055 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001285/0.3705, allocations: 0.5649 MB / 0.5509 GB, free: 6.793 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007251/0.3712, allocations: 0.6514 MB / 0.5515 GB, free: 6.375 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007946/0.372, allocations: 0.7093 MB / 0.5522 GB, free: 5.906 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002533/0.3745, allocations: 1.903 MB / 0.554 GB, free: 4.527 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3745, allocations: 4 kB / 0.554 GB, free: 4.523 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.3745, allocations: 0 / 0.554 GB, free: 4.523 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.167e-05/0.3745, allocations: 0 / 0.554 GB, free: 4.523 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.003249/0.3778, allocations: 1.666 MB / 0.5557 GB, free: 2.801 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.3778, allocations: 19.88 kB / 0.5557 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001689/0.3795, allocations: 275.8 kB / 0.556 GB, free: 2.512 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002165/0.3817, allocations: 0.9534 MB / 0.5569 GB, free: 1.516 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8e-05/0.3818, allocations: 78.09 kB / 0.557 GB, free: 1.438 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003399/0.3821, allocations: 135.9 kB / 0.5571 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002645/0.3848, allocations: 1.497 MB / 0.5585 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.065e-05/0.3848, allocations: 15.92 kB / 0.5586 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001095/0.3849, allocations: 43.98 kB / 0.5586 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002913/0.3852, allocations: 102.2 kB / 0.5587 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002072/0.3873, allocations: 1.258 MB / 0.5599 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00825/0.3955, allocations: 5.638 MB / 0.5654 GB, free: 8.336 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009937/0.3965, allocations: 0.5586 MB / 0.566 GB, free: 7.754 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005572/0.3971, allocations: 371.3 kB / 0.5663 GB, free: 7.383 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.804e-05/0.3971, allocations: 16.53 kB / 0.5664 GB, free: 7.367 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/0.3972, allocations: 43.06 kB / 0.5664 GB, free: 7.316 MB / 414.1 MB Notification: Performance of pre-optimization done (n=67): time 2.334e-06/0.3972, allocations: 4 kB / 0.5664 GB, free: 7.312 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.007506/0.4047, allocations: 3.653 MB / 0.57 GB, free: 3.496 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.677e-05/0.4048, allocations: 93.7 kB / 0.5701 GB, free: 3.387 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/0.406, allocations: 0.7274 MB / 0.5708 GB, free: 2.645 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.239e-05/0.406, allocations: 41.7 kB / 0.5708 GB, free: 2.598 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005358/0.4066, allocations: 0.6091 MB / 0.5714 GB, free: 1.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002478/0.4068, allocations: 285.6 kB / 0.5717 GB, free: 1.699 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002865/0.4071, allocations: 182.6 kB / 0.5718 GB, free: 1.516 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002202/0.4073, allocations: 402.7 kB / 0.5722 GB, free: 1.113 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006155/0.4079, allocations: 385.8 kB / 0.5726 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008973/0.4088, allocations: 0.6652 MB / 0.5732 GB, free: 15.95 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001617/0.4105, allocations: 1.144 MB / 0.5744 GB, free: 14.69 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.4105, allocations: 0 / 0.5744 GB, free: 14.69 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003371/0.4138, allocations: 1.69 MB / 0.576 GB, free: 12.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.4139, allocations: 8 kB / 0.576 GB, free: 12.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00266/0.4165, allocations: 1.286 MB / 0.5773 GB, free: 11.67 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001836/0.4183, allocations: 0.5769 MB / 0.5778 GB, free: 11.08 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006049/0.419, allocations: 171.7 kB / 0.578 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01271/0.4317, allocations: 10.37 MB / 0.5881 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000794/0.4325, allocations: 51.92 kB / 0.5882 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.582e-05/0.4325, allocations: 43.98 kB / 0.5882 GB, free: 15.88 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.0006487/0.4332, allocations: 389.3 kB / 0.5886 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/0.4333, allocations: 91.39 kB / 0.5887 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002351/0.4357, allocations: 1.236 MB / 0.5899 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.4357, allocations: 8 kB / 0.5899 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.4357, allocations: 4 kB / 0.5899 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.4357, allocations: 3.984 kB / 0.5899 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004457/0.4402, allocations: 2.389 MB / 0.5922 GB, free: 11.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/0.4402, allocations: 7.938 kB / 0.5922 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004672/0.4406, allocations: 111.8 kB / 0.5924 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001098/0.4417, allocations: 380.1 kB / 0.5927 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.551e-05/0.4418, allocations: 23.98 kB / 0.5927 GB, free: 11.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008987/0.4508, allocations: 9.303 MB / 0.6018 GB, free: 1.102 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4508, allocations: 0 / 0.6018 GB, free: 1.102 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002901/0.4537, allocations: 1.671 MB / 0.6035 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004884/0.4542, allocations: 240.3 kB / 0.6037 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001301/0.4543, allocations: 31.94 kB / 0.6037 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000435/0.4547, allocations: 23.97 kB / 0.6037 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001723/0.4549, allocations: 64.42 kB / 0.6038 GB, free: 15.01 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.365e-05/0.455, allocations: 27.98 kB / 0.6038 GB, free: 14.98 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007153/0.4557, allocations: 0.5029 MB / 0.6043 GB, free: 14.48 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4557, allocations: 0 / 0.6043 GB, free: 14.48 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00142/0.4571, allocations: 363.9 kB / 0.6047 GB, free: 14.12 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.0003613/0.4575, allocations: 146.6 kB / 0.6048 GB, free: 13.97 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002568/0.46, allocations: 1.535 MB / 0.6063 GB, free: 12.38 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.46, allocations: 4 kB / 0.6063 GB, free: 12.38 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001627/0.4617, allocations: 1.072 MB / 0.6074 GB, free: 11.24 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.4627, allocations: 209.4 kB / 0.6076 GB, free: 11.05 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004528/0.4672, allocations: 2.767 MB / 0.6103 GB, free: 8.227 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001058/0.4683, allocations: 1.255 MB / 0.6115 GB, free: 6.941 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005569/0.4688, allocations: 219.6 kB / 0.6117 GB, free: 6.723 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001662/0.469, allocations: 67.42 kB / 0.6118 GB, free: 6.656 MB / 462.1 MB Notification: Performance of SimCode: time 1.142e-06/0.469, allocations: 3.938 kB / 0.6118 GB, free: 6.652 MB / 462.1 MB Notification: Performance of Templates: time 0.02962/0.4986, allocations: 16.19 MB / 0.6276 GB, free: 6.551 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: 5.387213039211929]