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.001375/0.001375, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001059/0.001059, allocations: 165 kB / 24.56 MB, free: 12 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 0.9553/0.9553, allocations: 177.2 MB / 205 MB, free: 5.23 MB / 186.7 MB " [Timeout remaining time 179] 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.2544/0.2544, allocations: 29.42 MB / 290.9 MB, free: 2.445 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.[0-9,]+.|sensor1.p.[0-9,]+.",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.[0-9,]+.|sensor1.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 369.7 MB, free: 10.97 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.086e-05/2.233e-05, allocations: 2.312 kB / 369.7 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.01508/0.0151, allocations: 8.143 MB / 377.8 MB, free: 2.781 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006199/0.0213, allocations: 3.33 MB / 381.1 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000966/0.02227, allocations: 43.62 kB / 381.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002209/0.02447, allocations: 0.832 MB / 382 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002553/0.02703, allocations: 0.909 MB / 382.9 MB, free: 13.65 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.02832, allocations: 0.4986 MB / 383.4 MB, free: 13.15 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002522/0.03084, allocations: 1.831 MB / 385.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001196/0.03204, allocations: 0.7434 MB / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001902/0.03394, allocations: 1.126 MB / 387.1 MB, free: 9.422 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001486/0.03542, allocations: 0.8571 MB / 388 MB, free: 8.562 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001803/0.0356, allocations: 104 kB / 388.1 MB, free: 8.461 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007165/0.03632, allocations: 467.2 kB / 388.5 MB, free: 8.004 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004436/0.03676, allocations: 0.6819 MB / 389.2 MB, free: 7.32 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005588/0.03732, allocations: 490.9 kB / 389.7 MB, free: 6.84 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001466/0.03879, allocations: 1.285 MB / 391 MB, free: 5.551 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.03879, allocations: 0 / 391 MB, free: 5.551 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.03879, allocations: 0 / 391 MB, free: 5.551 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.452e-05/0.03883, allocations: 0 / 391 MB, free: 5.551 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.002008/0.04084, allocations: 1.672 MB / 392.7 MB, free: 3.836 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.04088, allocations: 12.03 kB / 392.7 MB, free: 3.824 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001147/0.04202, allocations: 411.6 kB / 393.1 MB, free: 3.422 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/0.04333, allocations: 0.7902 MB / 393.9 MB, free: 2.602 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.054e-05/0.04338, allocations: 82.47 kB / 393.9 MB, free: 2.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002263/0.04361, allocations: 143.8 kB / 394.1 MB, free: 2.379 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/0.04484, allocations: 0.9673 MB / 395 MB, free: 1.328 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.213e-05/0.04488, allocations: 4 kB / 395 MB, free: 1.324 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.614e-05/0.04494, allocations: 40 kB / 395.1 MB, free: 1.285 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001701/0.04511, allocations: 102.2 kB / 395.2 MB, free: 1.184 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009052/0.04602, allocations: 0.5397 MB / 395.7 MB, free: 0.6328 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0043/0.05032, allocations: 4.823 MB / 400.6 MB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000462/0.05078, allocations: 349.8 kB / 400.9 MB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002301/0.05101, allocations: 189.3 kB / 401.1 MB, free: 11.01 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.743e-05/0.05105, allocations: 16.66 kB / 401.1 MB, free: 10.99 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.05108, allocations: 42.05 kB / 401.1 MB, free: 10.94 MB / 378.7 MB Notification: Performance of pre-optimization done (n=67): time 2.635e-06/0.05108, allocations: 0 / 401.1 MB, free: 10.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.003305/0.05439, allocations: 2.197 MB / 403.3 MB, free: 8.695 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.05443, allocations: 89.77 kB / 403.4 MB, free: 8.586 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005152/0.05495, allocations: 0.6866 MB / 404.1 MB, free: 7.887 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.751e-05/0.05498, allocations: 41.7 kB / 404.1 MB, free: 7.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003126/0.0553, allocations: 0.6664 MB / 404.8 MB, free: 7.164 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001604/0.05546, allocations: 281.7 kB / 405.1 MB, free: 6.887 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001738/0.05563, allocations: 184.2 kB / 405.3 MB, free: 6.699 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.0558, allocations: 0.5898 MB / 405.9 MB, free: 6.098 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002355/0.05604, allocations: 153.9 kB / 406 MB, free: 5.945 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003913/0.05643, allocations: 0.5504 MB / 406.6 MB, free: 5.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007114/0.05714, allocations: 0.7948 MB / 407.4 MB, free: 4.273 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.05715, allocations: 4 kB / 407.4 MB, free: 4.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001634/0.05878, allocations: 1.166 MB / 408.5 MB, free: 3.082 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.0588, allocations: 12 kB / 408.5 MB, free: 3.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001159/0.05996, allocations: 0.7742 MB / 409.3 MB, free: 2.277 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001225/0.06119, allocations: 0.542 MB / 409.9 MB, free: 1.719 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003366/0.06152, allocations: 171.7 kB / 410 MB, free: 1.551 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005969/0.06749, allocations: 9.205 MB / 419.2 MB, free: 7.867 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004274/0.06792, allocations: 43.92 kB / 419.3 MB, free: 7.824 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.657e-05/0.06797, allocations: 43.98 kB / 419.3 MB, free: 7.781 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.0003066/0.06827, allocations: 212.3 kB / 419.5 MB, free: 7.562 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.06839, allocations: 115.4 kB / 419.6 MB, free: 7.449 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/0.06945, allocations: 0.7811 MB / 420.4 MB, free: 6.633 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.06945, allocations: 11.94 kB / 420.4 MB, free: 6.621 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.06946, allocations: 8.062 kB / 420.4 MB, free: 6.613 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.06947, allocations: 3.984 kB / 420.4 MB, free: 6.609 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002101/0.07157, allocations: 1.713 MB / 422.1 MB, free: 4.801 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.07158, allocations: 0 / 422.1 MB, free: 4.801 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002457/0.07182, allocations: 107.8 kB / 422.3 MB, free: 4.695 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000646/0.07247, allocations: 301.3 kB / 422.5 MB, free: 4.383 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.05e-05/0.07252, allocations: 27.98 kB / 422.6 MB, free: 4.355 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004453/0.07697, allocations: 10.08 MB / 432.6 MB, free: 9.672 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.07698, allocations: 7.938 kB / 432.7 MB, free: 9.664 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001328/0.0783, allocations: 1.102 MB / 433.8 MB, free: 8.488 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002284/0.07853, allocations: 143.3 kB / 433.9 MB, free: 8.348 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.947e-05/0.0786, allocations: 23.98 kB / 433.9 MB, free: 8.324 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.07881, allocations: 23.98 kB / 433.9 MB, free: 8.301 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.07892, allocations: 72.41 kB / 434 MB, free: 8.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.013e-05/0.07895, allocations: 23.98 kB / 434 MB, free: 8.207 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003466/0.0793, allocations: 423 kB / 434.5 MB, free: 7.801 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0793, allocations: 0 / 434.5 MB, free: 7.801 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009097/0.08021, allocations: 336.1 kB / 434.8 MB, free: 7.473 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.0001425/0.08035, allocations: 127 kB / 434.9 MB, free: 7.336 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001334/0.08169, allocations: 1.413 MB / 436.3 MB, free: 5.852 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.08169, allocations: 3.938 kB / 436.3 MB, free: 5.848 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000844/0.08253, allocations: 1.21 MB / 437.5 MB, free: 4.547 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006065/0.08314, allocations: 193.1 kB / 437.7 MB, free: 4.363 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003205/0.08634, allocations: 2.287 MB / 440 MB, free: 2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/0.08661, allocations: 339.2 kB / 440.3 MB, free: 1.645 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003393/0.08695, allocations: 179.2 kB / 440.5 MB, free: 1.465 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.08706, allocations: 60.5 kB / 440.6 MB, free: 1.406 MB / 410.7 MB Notification: Performance of SimCode: time 1.553e-06/0.08706, allocations: 0 / 440.6 MB, free: 1.406 MB / 410.7 MB Notification: Performance of Templates: time 0.1456/0.2326, allocations: 15 MB / 455.6 MB, free: 91.76 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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6405609878711402]