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.001495/0.001495, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001639/0.001639, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 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 1.458/1.458, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 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.2944/0.2944, allocations: 29.41 MB / 290.5 MB, free: 2.414 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 368.9 MB, free: 11.27 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.78e-05/2.953e-05, allocations: 2.312 kB / 368.9 MB, free: 11.27 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.01294/0.01297, allocations: 8.926 MB / 377.8 MB, free: 2.297 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007024/0.01999, allocations: 3.365 MB / 381.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006789/0.02067, allocations: 47.62 kB / 381.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003213/0.02388, allocations: 1.081 MB / 382.3 MB, free: 13.79 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003041/0.02693, allocations: 0.9167 MB / 383.2 MB, free: 12.87 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001484/0.02841, allocations: 0.5064 MB / 383.7 MB, free: 12.36 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00264/0.03105, allocations: 1.85 MB / 385.6 MB, free: 10.5 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001125/0.03217, allocations: 0.7394 MB / 386.3 MB, free: 9.742 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001508/0.03368, allocations: 1.044 MB / 387.4 MB, free: 8.695 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001346/0.03503, allocations: 0.8493 MB / 388.2 MB, free: 7.844 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001784/0.03521, allocations: 108 kB / 388.3 MB, free: 7.738 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001175/0.03638, allocations: 0.5847 MB / 388.9 MB, free: 7.152 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007889/0.03717, allocations: 0.6779 MB / 389.6 MB, free: 6.473 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007841/0.03796, allocations: 0.495 MB / 390.1 MB, free: 5.977 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002743/0.0407, allocations: 1.939 MB / 392 MB, free: 4.031 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.0407, allocations: 0 / 392 MB, free: 4.031 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.0407, allocations: 0 / 392 MB, free: 4.031 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.14e-05/0.04073, allocations: 0 / 392 MB, free: 4.031 MB / 362.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.003362/0.04409, allocations: 1.591 MB / 393.6 MB, free: 2.402 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.04413, allocations: 11.98 kB / 393.6 MB, free: 2.391 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002147/0.04628, allocations: 439.6 kB / 394.1 MB, free: 1.961 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002074/0.04835, allocations: 0.9123 MB / 395 MB, free: 1.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.715e-05/0.04844, allocations: 82.47 kB / 395.1 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003386/0.04878, allocations: 143.8 kB / 395.2 MB, free: 0.7969 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002571/0.05135, allocations: 1.489 MB / 396.7 MB, free: 15.24 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.825e-05/0.05139, allocations: 4 kB / 396.7 MB, free: 15.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/0.0515, allocations: 40 kB / 396.7 MB, free: 15.2 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000317/0.05182, allocations: 102.2 kB / 396.8 MB, free: 15.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002257/0.05408, allocations: 1.246 MB / 398.1 MB, free: 13.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008404/0.06248, allocations: 4.728 MB / 402.8 MB, free: 8.891 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.0635, allocations: 0.559 MB / 403.4 MB, free: 8.312 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000639/0.06414, allocations: 375.5 kB / 403.7 MB, free: 7.938 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.512e-05/0.0642, allocations: 12.66 kB / 403.7 MB, free: 7.926 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.643e-05/0.06424, allocations: 39.22 kB / 403.8 MB, free: 7.879 MB / 378.7 MB Notification: Performance of pre-optimization done (n=67): time 2.645e-06/0.06425, allocations: 4 kB / 403.8 MB, free: 7.875 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.008164/0.07241, allocations: 3.237 MB / 407 MB, free: 4.594 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.426e-05/0.0725, allocations: 85.77 kB / 407.1 MB, free: 4.488 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.07351, allocations: 0.68 MB / 407.8 MB, free: 3.801 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.524e-05/0.07357, allocations: 41.7 kB / 407.8 MB, free: 3.754 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005596/0.07413, allocations: 0.6052 MB / 408.4 MB, free: 3.141 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002874/0.07442, allocations: 281.7 kB / 408.7 MB, free: 2.863 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003138/0.07473, allocations: 182.6 kB / 408.9 MB, free: 2.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002697/0.075, allocations: 406.7 kB / 409.3 MB, free: 2.273 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006747/0.07568, allocations: 385.8 kB / 409.7 MB, free: 1.895 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009709/0.07665, allocations: 0.6574 MB / 410.3 MB, free: 1.117 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001804/0.07845, allocations: 1.152 MB / 411.5 MB, free: 15.84 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.07846, allocations: 4 kB / 411.5 MB, free: 15.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003886/0.08235, allocations: 1.726 MB / 413.2 MB, free: 14.1 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.08237, allocations: 8 kB / 413.2 MB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002941/0.08531, allocations: 1.294 MB / 414.5 MB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00275/0.08806, allocations: 0.7204 MB / 415.2 MB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000683/0.08875, allocations: 171.7 kB / 415.4 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01436/0.1031, allocations: 9.715 MB / 425.1 MB, free: 1.777 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008087/0.1039, allocations: 47.97 kB / 425.1 MB, free: 1.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/0.104, allocations: 40 kB / 425.2 MB, free: 1.691 MB / 394.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.0007406/0.1048, allocations: 385.5 kB / 425.6 MB, free: 1.305 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002892/0.1051, allocations: 111.4 kB / 425.7 MB, free: 1.195 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002738/0.1078, allocations: 1.232 MB / 426.9 MB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/0.1078, allocations: 11.94 kB / 426.9 MB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/0.1078, allocations: 4 kB / 426.9 MB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/0.1078, allocations: 11.98 kB / 426.9 MB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004766/0.1126, allocations: 2.118 MB / 429 MB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.1126, allocations: 7.938 kB / 429.1 MB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005163/0.1131, allocations: 112 kB / 429.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001476/0.1146, allocations: 411.2 kB / 429.6 MB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.65e-05/0.1147, allocations: 23.98 kB / 429.6 MB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0101/0.1248, allocations: 8.652 MB / 438.2 MB, free: 3.992 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.1248, allocations: 4.047 kB / 438.2 MB, free: 3.988 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003361/0.1282, allocations: 1.694 MB / 439.9 MB, free: 2.238 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004797/0.1286, allocations: 151.3 kB / 440.1 MB, free: 2.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001953/0.1288, allocations: 27.98 kB / 440.1 MB, free: 2.062 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005272/0.1294, allocations: 23.98 kB / 440.1 MB, free: 2.039 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001728/0.1295, allocations: 68.41 kB / 440.2 MB, free: 1.973 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.396e-05/0.1296, allocations: 27.98 kB / 440.2 MB, free: 1.945 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007716/0.1304, allocations: 471 kB / 440.7 MB, free: 1.488 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1304, allocations: 0 / 440.7 MB, free: 1.488 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001565/0.1319, allocations: 363.9 kB / 441 MB, free: 1.133 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.0003936/0.1323, allocations: 154.9 kB / 441.2 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.1246/0.2569, allocations: 1.523 MB / 442.7 MB, free: 107.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/0.257, allocations: 0 / 442.7 MB, free: 107.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001408/0.2584, allocations: 1.08 MB / 443.8 MB, free: 106.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/0.2595, allocations: 195.3 kB / 444 MB, free: 106.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003548/0.2631, allocations: 2.579 MB / 446.6 MB, free: 105.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005907/0.2637, allocations: 0.6564 MB / 447.2 MB, free: 105.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004907/0.2641, allocations: 213.9 kB / 447.4 MB, free: 105.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/0.2643, allocations: 66.3 kB / 447.5 MB, free: 105.6 MB / 410.7 MB Notification: Performance of SimCode: time 1.122e-06/0.2643, allocations: 0 / 447.5 MB, free: 105.6 MB / 410.7 MB Notification: Performance of Templates: time 0.02095/0.2853, allocations: 14.86 MB / 462.4 MB, free: 104.2 MB / 410.7 MB " [Timeout remaining time 660] 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.48476710903924]