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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 115.5 kB / 16.63 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 186 kB / 17.55 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 222.9 MB / 241.2 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1746/0.1746, allocations: 38.03 MB / 329.4 MB, free: 9.062 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 61.84 kB / 398.3 MB, free: 34.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09525/0.09646, allocations: 58.07 MB / 456.4 MB, free: 8.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.006378/0.1029, allocations: 5.349 MB / 461.7 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002372/0.1053, allocations: 1.527 MB / 463.2 MB, free: 1.535 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002348/0.1055, allocations: 27.81 kB / 463.3 MB, free: 1.508 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00105/0.1066, allocations: 386.5 kB / 463.6 MB, free: 1.129 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004677/0.1071, allocations: 207.1 kB / 463.8 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004269/0.1075, allocations: 167.7 kB / 464 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000512/0.1081, allocations: 0.549 MB / 464.5 MB, free: 216 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005465/0.1086, allocations: 369.8 kB / 464.9 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003162/0.1089, allocations: 250.9 kB / 465.2 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003882/0.1093, allocations: 291 kB / 465.4 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.762e-05/0.1094, allocations: 32 kB / 465.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002506/0.1097, allocations: 127.8 kB / 465.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001923/0.1099, allocations: 195.5 kB / 465.8 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002061/0.1101, allocations: 218.9 kB / 466 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005503/0.1106, allocations: 0.5294 MB / 466.5 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1106, allocations: 0 / 466.5 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1107, allocations: 0 / 466.5 MB, free: 14.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.1107, allocations: 0 / 466.5 MB, free: 14.22 MB / 350.1 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.001077/0.1117, allocations: 0.7184 MB / 467.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.1118, allocations: 8.031 kB / 467.3 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006806/0.1125, allocations: 88.31 kB / 467.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005567/0.1131, allocations: 400.1 kB / 467.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.1131, allocations: 21.38 kB / 467.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/0.1132, allocations: 52.02 kB / 467.8 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006856/0.1139, allocations: 476.8 kB / 468.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.1139, allocations: 11.92 kB / 468.3 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.721e-05/0.114, allocations: 15.94 kB / 468.3 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001055/0.1141, allocations: 24.98 kB / 468.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005423/0.1146, allocations: 343.7 kB / 468.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002115/0.1168, allocations: 1.633 MB / 470.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003247/0.1171, allocations: 185.1 kB / 470.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/0.1173, allocations: 111.9 kB / 470.6 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.1173, allocations: 0 / 470.6 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.1174, allocations: 38.5 kB / 470.6 MB, free: 9.887 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.152e-06/0.1174, allocations: 0 / 470.6 MB, free: 9.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001266/0.1186, allocations: 0.7838 MB / 471.4 MB, free: 9.051 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/0.1187, allocations: 77.11 kB / 471.5 MB, free: 8.957 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002876/0.119, allocations: 316.4 kB / 471.8 MB, free: 8.641 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.119, allocations: 25.7 kB / 471.8 MB, free: 8.609 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.1192, allocations: 247.5 kB / 472.1 MB, free: 8.363 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.04e-05/0.1193, allocations: 82.92 kB / 472.1 MB, free: 8.281 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.322e-05/0.1194, allocations: 57.7 kB / 472.2 MB, free: 8.219 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.1195, allocations: 342.8 kB / 472.5 MB, free: 7.875 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.1197, allocations: 95.98 kB / 472.6 MB, free: 7.781 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002207/0.1199, allocations: 196.5 kB / 472.8 MB, free: 7.543 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004203/0.1203, allocations: 335.4 kB / 473.1 MB, free: 7.172 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1204, allocations: 0 / 473.1 MB, free: 7.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007913/0.1211, allocations: 433.4 kB / 473.6 MB, free: 6.738 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.1212, allocations: 6.344 kB / 473.6 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005127/0.1217, allocations: 267.3 kB / 473.8 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003436/0.1221, allocations: 80.78 kB / 473.9 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000246/0.1223, allocations: 63.84 kB / 474 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001611/0.1239, allocations: 1.719 MB / 475.7 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001749/0.1241, allocations: 8 kB / 475.7 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.225e-05/0.1241, allocations: 20.06 kB / 475.7 MB, free: 4.441 MB / 350.1 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.0001993/0.1244, allocations: 191.6 kB / 475.9 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.816e-05/0.1244, allocations: 35.62 kB / 475.9 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004266/0.1248, allocations: 268.6 kB / 476.2 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1249, allocations: 0 / 476.2 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.1249, allocations: 4 kB / 476.2 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1249, allocations: 0 / 476.2 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.126, allocations: 0.7537 MB / 477 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.126, allocations: 0 / 477 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002808/0.1263, allocations: 51.91 kB / 477 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1263, allocations: 4 kB / 477 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.372e-05/0.1263, allocations: 11.94 kB / 477 MB, free: 3.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.1263, allocations: 4.062 kB / 477 MB, free: 3.047 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.1263, allocations: 7.938 kB / 477 MB, free: 3.039 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005372/0.1269, allocations: 450.2 kB / 477.5 MB, free: 2.574 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.051e-05/0.127, allocations: 108.7 kB / 477.6 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.335e-05/0.127, allocations: 8.031 kB / 477.6 MB, free: 2.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.1272, allocations: 12 kB / 477.6 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.1272, allocations: 11.98 kB / 477.6 MB, free: 2.418 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.1272, allocations: 8 kB / 477.6 MB, free: 2.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002086/0.1275, allocations: 219 kB / 477.8 MB, free: 2.195 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1275, allocations: 3.938 kB / 477.8 MB, free: 2.191 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000383/0.1279, allocations: 84 kB / 477.9 MB, free: 2.109 MB / 350.1 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.0001138/0.128, allocations: 99.25 kB / 478 MB, free: 2.004 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006258/0.1286, allocations: 401.6 kB / 478.4 MB, free: 1.602 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1286, allocations: 0 / 478.4 MB, free: 1.602 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.1288, allocations: 98.98 kB / 478.5 MB, free: 1.508 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005046/0.1293, allocations: 76.39 kB / 478.6 MB, free: 1.434 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.1307, allocations: 1.077 MB / 479.7 MB, free: 328 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004161/0.1312, allocations: 0.85 MB / 480.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002032/0.1314, allocations: 70.91 kB / 480.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.129e-05/0.1314, allocations: 31.38 kB / 480.6 MB, free: 15.35 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1315, allocations: 0 / 480.6 MB, free: 15.35 MB / 366.1 MB Notification: Performance of Templates: time 0.007116/0.1386, allocations: 3.495 MB / 484.1 MB, free: 11.88 MB / 366.1 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/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches