Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") translateModel(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001919/0.001919, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.574/1.574, allocations: 205.1 MB / 223.1 MB, free: 8.445 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001019/0.001019, allocations: 97.55 kB / 270.5 MB, free: 8.422 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1804/0.1804, allocations: 38.01 MB / 355.8 MB, free: 2.914 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001086/0.001087, allocations: 51.92 kB / 421.9 MB, free: 37.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.3602, allocations: 55.24 MB / 477.1 MB, free: 9.91 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.007146/0.3674, allocations: 5.356 MB / 482.5 MB, free: 6.125 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003151/0.3706, allocations: 1.577 MB / 484 MB, free: 5.016 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004321/0.3711, allocations: 28.12 kB / 484.1 MB, free: 5.004 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001205/0.3723, allocations: 379.2 kB / 484.4 MB, free: 4.781 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007332/0.373, allocations: 219 kB / 484.6 MB, free: 4.656 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006005/0.3736, allocations: 164.7 kB / 484.8 MB, free: 4.57 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009058/0.3745, allocations: 0.7987 MB / 485.6 MB, free: 4.305 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006119/0.3752, allocations: 328.1 kB / 485.9 MB, free: 4.184 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004744/0.3756, allocations: 222.3 kB / 486.1 MB, free: 4.09 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005616/0.3762, allocations: 293 kB / 486.4 MB, free: 3.98 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.293e-05/0.3763, allocations: 23.38 kB / 486.5 MB, free: 3.98 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004321/0.3767, allocations: 134.6 kB / 486.6 MB, free: 3.941 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000278/0.377, allocations: 169.6 kB / 486.8 MB, free: 3.891 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002853/0.3773, allocations: 218.5 kB / 487 MB, free: 3.766 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007583/0.3781, allocations: 0.514 MB / 487.5 MB, free: 3.57 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.3781, allocations: 1.312 kB / 487.5 MB, free: 3.57 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.246e-06/0.3781, allocations: 0.7969 kB / 487.5 MB, free: 3.57 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.3781, allocations: 3.938 kB / 487.5 MB, free: 3.566 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001354/0.3795, allocations: 0.7153 MB / 488.2 MB, free: 2.988 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.3795, allocations: 10.42 kB / 488.2 MB, free: 2.988 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007302/0.3803, allocations: 84.33 kB / 488.3 MB, free: 2.965 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007488/0.381, allocations: 404.3 kB / 488.7 MB, free: 2.66 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.345e-05/0.3811, allocations: 22.53 kB / 488.7 MB, free: 2.652 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/0.3812, allocations: 47.17 kB / 488.8 MB, free: 2.637 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008438/0.3821, allocations: 489.7 kB / 489.2 MB, free: 2.395 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.3821, allocations: 1.375 kB / 489.2 MB, free: 2.395 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.978e-05/0.3822, allocations: 12.75 kB / 489.2 MB, free: 2.387 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00012/0.3823, allocations: 27.64 kB / 489.3 MB, free: 2.383 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006534/0.3829, allocations: 343.5 kB / 489.6 MB, free: 2.273 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002501/0.3855, allocations: 1.633 MB / 491.2 MB, free: 1.16 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004171/0.3859, allocations: 183.4 kB / 491.4 MB, free: 1.055 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002014/0.3861, allocations: 111.8 kB / 491.5 MB, free: 1.004 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.3861, allocations: 6.828 kB / 491.5 MB, free: 1 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.3862, allocations: 36.47 kB / 491.6 MB, free: 0.957 MB / 314.7 MB Notification: Performance of pre-optimization done (n=19): time 1.643e-06/0.3862, allocations: 0 / 491.6 MB, free: 0.957 MB / 314.7 MB Notification: Performance of matching and sorting (n=20): time 0.001403/0.3876, allocations: 0.7863 MB / 492.4 MB, free: 444 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.3876, allocations: 80.42 kB / 492.4 MB, free: 348 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003813/0.388, allocations: 304.1 kB / 492.7 MB, free: 188 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.3881, allocations: 29.7 kB / 492.8 MB, free: 152 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002259/0.3883, allocations: 255.2 kB / 493 MB, free: 15.94 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.313e-05/0.3884, allocations: 66.84 kB / 493.1 MB, free: 15.89 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.3885, allocations: 68.31 kB / 493.1 MB, free: 15.85 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.3886, allocations: 348.2 kB / 493.5 MB, free: 15.52 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002265/0.3889, allocations: 95.78 kB / 493.6 MB, free: 15.48 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002658/0.3892, allocations: 201 kB / 493.8 MB, free: 15.32 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000484/0.3896, allocations: 331.7 kB / 494.1 MB, free: 15.09 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3897, allocations: 1.188 kB / 494.1 MB, free: 15.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009201/0.3906, allocations: 426.3 kB / 494.5 MB, free: 14.91 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.3906, allocations: 5.281 kB / 494.5 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006305/0.3913, allocations: 272.2 kB / 494.8 MB, free: 14.81 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003926/0.3917, allocations: 75.31 kB / 494.9 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000269/0.3919, allocations: 65.31 kB / 494.9 MB, free: 14.78 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00176/0.3937, allocations: 1.591 MB / 496.5 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002232/0.3939, allocations: 9.594 kB / 496.5 MB, free: 13.35 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-05/0.394, allocations: 17.16 kB / 496.5 MB, free: 13.35 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002892/0.3943, allocations: 203.5 kB / 496.7 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.053e-05/0.3944, allocations: 29.88 kB / 496.8 MB, free: 13.17 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005261/0.3949, allocations: 266.3 kB / 497 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.3949, allocations: 2.906 kB / 497 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/0.3949, allocations: 1.5 kB / 497 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.3949, allocations: 1.406 kB / 497 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/0.3963, allocations: 0.7578 MB / 497.8 MB, free: 12.56 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.3963, allocations: 5.188 kB / 497.8 MB, free: 12.56 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002779/0.3966, allocations: 50.72 kB / 497.8 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.3966, allocations: 2.453 kB / 497.9 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/0.3967, allocations: 3.844 kB / 497.9 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.3967, allocations: 2.438 kB / 497.9 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.043e-05/0.3967, allocations: 9.281 kB / 497.9 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003591/0.4003, allocations: 2.396 MB / 0.4885 GB, free: 10.9 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.844e-05/0.4004, allocations: 107.6 kB / 0.4886 GB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.86e-05/0.4004, allocations: 7.734 kB / 0.4886 GB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.4006, allocations: 9.484 kB / 0.4887 GB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.123e-05/0.4007, allocations: 15.16 kB / 0.4887 GB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.077e-05/0.4007, allocations: 10.97 kB / 0.4887 GB, free: 10.77 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002921/0.401, allocations: 216.3 kB / 0.4889 GB, free: 10.66 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.401, allocations: 0 / 0.4889 GB, free: 10.66 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007735/0.4018, allocations: 120.6 kB / 0.489 GB, free: 10.64 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001513/0.402, allocations: 108.3 kB / 0.4891 GB, free: 10.55 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007285/0.4027, allocations: 378.6 kB / 0.4895 GB, free: 10.31 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4027, allocations: 3.938 kB / 0.4895 GB, free: 10.3 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001831/0.4029, allocations: 106.1 kB / 0.4896 GB, free: 10.26 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005423/0.4035, allocations: 66.59 kB / 0.4896 GB, free: 10.22 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/0.4054, allocations: 1.273 MB / 0.4909 GB, free: 9.246 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004811/0.4059, allocations: 0.855 MB / 0.4917 GB, free: 8.469 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002659/0.4062, allocations: 72.72 kB / 0.4918 GB, free: 8.441 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.4063, allocations: 31.89 kB / 0.4918 GB, free: 8.43 MB / 330.7 MB Notification: Performance of SimCode: time 4.21e-07/0.4063, allocations: 0 / 0.4918 GB, free: 8.43 MB / 330.7 MB Notification: Performance of Templates: time 0.008672/0.4149, allocations: 3.903 MB / 0.4956 GB, free: 6.512 MB / 330.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches