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.001304/0.001304, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001368/0.001368, allocations: 166.7 kB / 24.99 MB, free: 8.789 MB / 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.9605/0.9605, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.2341/0.2341, allocations: 29.42 MB / 291.2 MB, free: 2.406 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.[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.332e-06/1.332e-06, allocations: 0 / 369.6 MB, free: 11.29 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.574e-05/1.707e-05, allocations: 4.281 kB / 369.6 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.007538/0.007555, allocations: 9.565 MB / 379.2 MB, free: 1.68 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004325/0.01188, allocations: 3.525 MB / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003839/0.01226, allocations: 47.62 kB / 382.8 MB, free: 14.1 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001468/0.01373, allocations: 1.1 MB / 383.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001452/0.01518, allocations: 0.9245 MB / 384.8 MB, free: 12.06 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008493/0.01603, allocations: 0.5094 MB / 385.3 MB, free: 11.56 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001586/0.01762, allocations: 1.858 MB / 387.2 MB, free: 9.695 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000778/0.0184, allocations: 0.7395 MB / 387.9 MB, free: 8.934 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000879/0.01928, allocations: 1.048 MB / 388.9 MB, free: 7.883 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008742/0.02015, allocations: 0.8571 MB / 389.8 MB, free: 7.023 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001195/0.02027, allocations: 111.9 kB / 389.9 MB, free: 6.914 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00071/0.02098, allocations: 0.5808 MB / 390.5 MB, free: 6.332 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004098/0.02139, allocations: 0.6858 MB / 391.2 MB, free: 5.645 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003931/0.02178, allocations: 0.4911 MB / 391.7 MB, free: 5.152 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001269/0.02305, allocations: 1.46 MB / 393.1 MB, free: 3.688 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.02305, allocations: 0 / 393.1 MB, free: 3.688 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.02305, allocations: 0 / 393.1 MB, free: 3.688 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.932e-05/0.02307, allocations: 0 / 393.1 MB, free: 3.688 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.001831/0.0249, allocations: 1.722 MB / 394.9 MB, free: 1.922 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.02494, allocations: 8.031 kB / 394.9 MB, free: 1.914 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/0.02603, allocations: 427.7 kB / 395.3 MB, free: 1.496 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.0271, allocations: 0.8722 MB / 396.2 MB, free: 0.5938 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.693e-05/0.02714, allocations: 90.39 kB / 396.2 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001915/0.02733, allocations: 135.9 kB / 396.4 MB, free: 380 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.02846, allocations: 0.9751 MB / 397.3 MB, free: 15.31 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.85e-05/0.02849, allocations: 4 kB / 397.4 MB, free: 15.31 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.643e-05/0.02855, allocations: 43.98 kB / 397.4 MB, free: 15.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001728/0.02873, allocations: 102.2 kB / 397.5 MB, free: 15.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008419/0.02957, allocations: 0.5358 MB / 398 MB, free: 14.62 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004156/0.03372, allocations: 4.834 MB / 402.9 MB, free: 9.543 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004468/0.03417, allocations: 333.9 kB / 403.2 MB, free: 9.188 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002356/0.03441, allocations: 193.3 kB / 403.4 MB, free: 8.992 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.763e-05/0.03444, allocations: 16.64 kB / 403.4 MB, free: 8.977 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.03448, allocations: 49.98 kB / 403.4 MB, free: 8.918 MB / 378.7 MB Notification: Performance of pre-optimization done (n=67): time 2.184e-06/0.03448, allocations: 0 / 403.4 MB, free: 8.918 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.003286/0.03776, allocations: 2.189 MB / 405.6 MB, free: 6.676 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.03781, allocations: 85.77 kB / 405.7 MB, free: 6.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005111/0.03832, allocations: 0.6867 MB / 406.4 MB, free: 5.871 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.911e-05/0.03836, allocations: 41.7 kB / 406.4 MB, free: 5.824 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002967/0.03865, allocations: 0.6703 MB / 407.1 MB, free: 5.145 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001531/0.03881, allocations: 289.6 kB / 407.4 MB, free: 4.859 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001754/0.03898, allocations: 184.3 kB / 407.6 MB, free: 4.672 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.03916, allocations: 0.5898 MB / 408.2 MB, free: 4.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000241/0.0394, allocations: 161.9 kB / 408.3 MB, free: 3.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004059/0.0398, allocations: 0.5465 MB / 408.9 MB, free: 3.199 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007144/0.04052, allocations: 0.7908 MB / 409.7 MB, free: 2.246 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.04052, allocations: 4 kB / 409.7 MB, free: 2.242 MB / 378.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001596/0.04212, allocations: 1.163 MB / 410.8 MB, free: 1.059 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.04214, allocations: 8 kB / 410.8 MB, free: 1.051 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001163/0.0433, allocations: 0.7818 MB / 411.6 MB, free: 256 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001198/0.0445, allocations: 0.5293 MB / 412.1 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003262/0.04482, allocations: 167.7 kB / 412.3 MB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005877/0.0507, allocations: 9.193 MB / 421.5 MB, free: 5.867 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003033/0.051, allocations: 51.95 kB / 421.6 MB, free: 5.816 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-05/0.05105, allocations: 44.02 kB / 421.6 MB, free: 5.773 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.0002022/0.05125, allocations: 228.2 kB / 421.8 MB, free: 5.539 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.05136, allocations: 119.4 kB / 421.9 MB, free: 5.422 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.05238, allocations: 0.785 MB / 422.7 MB, free: 4.602 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.05238, allocations: 15.94 kB / 422.7 MB, free: 4.586 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.05239, allocations: 4 kB / 422.7 MB, free: 4.582 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.05239, allocations: 3.984 kB / 422.7 MB, free: 4.578 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001949/0.05434, allocations: 1.705 MB / 424.5 MB, free: 2.777 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.05434, allocations: 8.219 kB / 424.5 MB, free: 2.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002404/0.05459, allocations: 103.9 kB / 424.6 MB, free: 2.668 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005765/0.05516, allocations: 305.4 kB / 424.9 MB, free: 2.352 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.079e-05/0.0552, allocations: 27.97 kB / 424.9 MB, free: 2.324 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004187/0.05939, allocations: 10.07 MB / 435 MB, free: 7.645 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.05939, allocations: 4 kB / 435 MB, free: 7.641 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.06062, allocations: 1.114 MB / 436.1 MB, free: 6.453 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001705/0.06079, allocations: 143.4 kB / 436.2 MB, free: 6.312 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.022e-05/0.06086, allocations: 24 kB / 436.2 MB, free: 6.289 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/0.06108, allocations: 27.97 kB / 436.3 MB, free: 6.262 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.472e-05/0.06117, allocations: 64.47 kB / 436.3 MB, free: 6.199 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.77e-05/0.0612, allocations: 20 kB / 436.3 MB, free: 6.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003064/0.06151, allocations: 430.9 kB / 436.8 MB, free: 5.766 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06151, allocations: 0 / 436.8 MB, free: 5.766 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007859/0.06229, allocations: 367.9 kB / 437.1 MB, free: 5.406 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.0002428/0.06253, allocations: 142.8 kB / 437.3 MB, free: 5.258 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001224/0.06376, allocations: 1.417 MB / 438.7 MB, free: 3.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.06376, allocations: 0 / 438.7 MB, free: 3.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008114/0.06457, allocations: 1.209 MB / 439.9 MB, free: 2.469 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005585/0.06513, allocations: 192.4 kB / 440.1 MB, free: 2.289 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.127/0.1922, allocations: 2.286 MB / 442.4 MB, free: 106.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004763/0.1926, allocations: 341.2 kB / 442.7 MB, free: 106.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004407/0.1931, allocations: 183.2 kB / 442.9 MB, free: 106.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.1932, allocations: 68.42 kB / 442.9 MB, free: 106.2 MB / 410.7 MB Notification: Performance of SimCode: time 9.92e-07/0.1932, allocations: 0 / 442.9 MB, free: 106.2 MB / 410.7 MB Notification: Performance of Templates: time 0.01563/0.2088, allocations: 14.99 MB / 457.9 MB, free: 105 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.640300414059311]