Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001371/0.001376, allocations: 182.7 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.216/1.216, allocations: 225.7 MB / 243.2 MB, free: 8.457 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007892/0.0007893, allocations: 93.2 kB / 294.4 MB, free: 9.48 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2786/0.2786, allocations: 38.18 MB / 383.7 MB, free: 40.29 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002866/0.0002867, allocations: 8 kB / 453.5 MB, free: 8.754 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2751, allocations: 59.15 MB / 0.5007 GB, free: 39.16 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.008792/0.2839, allocations: 10.19 MB / 0.5106 GB, free: 34.77 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006164/0.2901, allocations: 5.583 MB / 0.5161 GB, free: 30 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001155/0.2913, allocations: 62.38 kB / 0.5161 GB, free: 29.97 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007756/0.2921, allocations: 286.3 kB / 0.5164 GB, free: 29.82 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002108/0.2942, allocations: 0.8239 MB / 0.5172 GB, free: 29.39 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.2953, allocations: 420.3 kB / 0.5176 GB, free: 29.2 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002559/0.2979, allocations: 2.774 MB / 0.5203 GB, free: 28.32 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002183/0.3001, allocations: 2.101 MB / 0.5224 GB, free: 26.71 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001164/0.3013, allocations: 0.6246 MB / 0.523 GB, free: 26.46 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001378/0.3027, allocations: 0.8686 MB / 0.5238 GB, free: 26.17 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002458/0.3029, allocations: 53.31 kB / 0.5239 GB, free: 26.17 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001074/0.304, allocations: 499.7 kB / 0.5244 GB, free: 26.04 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004462/0.3045, allocations: 0.5746 MB / 0.5249 GB, free: 25.87 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005318/0.305, allocations: 0.6559 MB / 0.5256 GB, free: 25.48 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001379/0.3064, allocations: 1.802 MB / 0.5273 GB, free: 24.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3064, allocations: 0 / 0.5273 GB, free: 24.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3064, allocations: 3.422 kB / 0.5273 GB, free: 24.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.507e-05/0.3064, allocations: 0 / 0.5273 GB, free: 24.96 MB / 378.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.002019/0.3084, allocations: 1.388 MB / 0.5287 GB, free: 24.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.3085, allocations: 13.47 kB / 0.5287 GB, free: 24.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001324/0.3098, allocations: 276.7 kB / 0.529 GB, free: 23.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001467/0.3113, allocations: 0.9007 MB / 0.5298 GB, free: 23.47 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.173e-05/0.3114, allocations: 78.55 kB / 0.5299 GB, free: 23.44 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002872/0.3117, allocations: 137 kB / 0.53 GB, free: 23.39 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001868/0.3135, allocations: 1.483 MB / 0.5315 GB, free: 22.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.162e-05/0.3136, allocations: 2.719 kB / 0.5315 GB, free: 22.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.701e-05/0.3137, allocations: 49.11 kB / 0.5315 GB, free: 22.72 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002436/0.3139, allocations: 103.1 kB / 0.5316 GB, free: 22.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001678/0.3156, allocations: 1.254 MB / 0.5329 GB, free: 22.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005748/0.3214, allocations: 5.673 MB / 0.5384 GB, free: 18.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006624/0.322, allocations: 0.5921 MB / 0.539 GB, free: 18.33 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004417/0.3225, allocations: 397.3 kB / 0.5394 GB, free: 18.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.099e-05/0.3225, allocations: 10.89 kB / 0.5394 GB, free: 18.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.3226, allocations: 42.19 kB / 0.5394 GB, free: 18.12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=67): time 1.934e-06/0.3226, allocations: 0 / 0.5394 GB, free: 18.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.005796/0.3284, allocations: 3.644 MB / 0.543 GB, free: 16.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.3284, allocations: 88.39 kB / 0.5431 GB, free: 16.13 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006981/0.3291, allocations: 0.7282 MB / 0.5438 GB, free: 15.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.885e-05/0.3292, allocations: 44.73 kB / 0.5438 GB, free: 15.78 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002663/0.3295, allocations: 0.5892 MB / 0.5444 GB, free: 15.31 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001473/0.3296, allocations: 268.2 kB / 0.5446 GB, free: 15.1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.193e-05/0.3297, allocations: 22.22 kB / 0.5447 GB, free: 15.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.538e-05/0.3298, allocations: 399.1 kB / 0.545 GB, free: 14.74 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005036/0.3303, allocations: 391.2 kB / 0.5454 GB, free: 14.61 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005923/0.3309, allocations: 0.6563 MB / 0.5461 GB, free: 14.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.332, allocations: 1.129 MB / 0.5472 GB, free: 13.44 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.332, allocations: 3.125 kB / 0.5472 GB, free: 13.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003037/0.3351, allocations: 1.698 MB / 0.5488 GB, free: 12.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.3351, allocations: 8.25 kB / 0.5488 GB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002689/0.3378, allocations: 1.308 MB / 0.5501 GB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001896/0.3397, allocations: 0.5774 MB / 0.5507 GB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006451/0.3404, allocations: 178.9 kB / 0.5508 GB, free: 12.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01034/0.3507, allocations: 9.441 MB / 0.5601 GB, free: 5.176 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008804/0.3516, allocations: 59.52 kB / 0.5601 GB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.148e-05/0.3517, allocations: 41.58 kB / 0.5602 GB, free: 5.141 MB / 378.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.0006234/0.3523, allocations: 383.3 kB / 0.5605 GB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.3525, allocations: 85.02 kB / 0.5606 GB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002149/0.3546, allocations: 1.26 MB / 0.5618 GB, free: 4.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.3546, allocations: 7.562 kB / 0.5618 GB, free: 4.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.3546, allocations: 4.25 kB / 0.5619 GB, free: 4.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/0.3547, allocations: 5.016 kB / 0.5619 GB, free: 4.246 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003984/0.3586, allocations: 2.397 MB / 0.5642 GB, free: 2.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.3587, allocations: 2.219 kB / 0.5642 GB, free: 2.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000467/0.3591, allocations: 108.7 kB / 0.5643 GB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001041/0.3602, allocations: 379.7 kB / 0.5647 GB, free: 2.488 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.888e-05/0.3603, allocations: 26.98 kB / 0.5647 GB, free: 2.473 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006987/0.3673, allocations: 8.493 MB / 0.573 GB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.3673, allocations: 2.031 kB / 0.573 GB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002656/0.3699, allocations: 1.675 MB / 0.5746 GB, free: 8.973 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004363/0.3704, allocations: 232 kB / 0.5748 GB, free: 8.727 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/0.3705, allocations: 27.92 kB / 0.5749 GB, free: 8.699 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004152/0.3709, allocations: 27.98 kB / 0.5749 GB, free: 8.672 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/0.3711, allocations: 72.34 kB / 0.575 GB, free: 8.602 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.634e-05/0.3711, allocations: 23.98 kB / 0.575 GB, free: 8.578 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006618/0.3718, allocations: 0.4951 MB / 0.5755 GB, free: 8.086 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3718, allocations: 0 / 0.5755 GB, free: 8.086 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001453/0.3733, allocations: 364 kB / 0.5758 GB, free: 7.73 MB / 394.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.0003365/0.3736, allocations: 149.1 kB / 0.576 GB, free: 7.578 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002369/0.376, allocations: 1.576 MB / 0.5775 GB, free: 5.949 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.376, allocations: 0 / 0.5775 GB, free: 5.949 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001493/0.3775, allocations: 1.087 MB / 0.5786 GB, free: 4.797 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/0.3787, allocations: 205.3 kB / 0.5788 GB, free: 4.602 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004259/0.3829, allocations: 3.367 MB / 0.582 GB, free: 1.184 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008524/0.3838, allocations: 1.255 MB / 0.5833 GB, free: 15.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006079/0.3844, allocations: 219.6 kB / 0.5835 GB, free: 15.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001706/0.3846, allocations: 71.36 kB / 0.5835 GB, free: 15.61 MB / 410.7 MB Notification: Performance of SimCode: time 1.993e-06/0.3846, allocations: 0 / 0.5835 GB, free: 15.61 MB / 410.7 MB Notification: Performance of Templates: time 0.02275/0.4074, allocations: 14.44 MB / 0.5976 GB, free: 1.199 MB / 410.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.makefile (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) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches