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.001454/0.001454, allocations: 108.3 kB / 16.51 MB, free: 6.707 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.001082/0.001082, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.339/1.339, allocations: 222.9 MB / 241.1 MB, free: 15.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1734/0.1734, allocations: 38.04 MB / 329.3 MB, free: 9.094 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 74.84 kB / 398.1 MB, free: 34.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09903/0.1003, allocations: 58.06 MB / 456.2 MB, free: 8.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.006684/0.107, allocations: 5.349 MB / 461.5 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002279/0.1093, allocations: 1.539 MB / 463.1 MB, free: 1.609 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002531/0.1096, allocations: 27.88 kB / 463.1 MB, free: 1.582 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001151/0.1108, allocations: 376.6 kB / 463.4 MB, free: 1.215 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000498/0.1113, allocations: 219 kB / 463.7 MB, free: 1 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005064/0.1118, allocations: 163.8 kB / 463.8 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007314/0.1125, allocations: 0.7908 MB / 464.6 MB, free: 48 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005426/0.1131, allocations: 325.4 kB / 464.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003036/0.1134, allocations: 218.9 kB / 465.1 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004236/0.1138, allocations: 303 kB / 465.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.039e-05/0.1139, allocations: 24 kB / 465.5 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002921/0.1142, allocations: 135.8 kB / 465.6 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001784/0.1144, allocations: 167.5 kB / 465.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002057/0.1146, allocations: 222.9 kB / 466 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005268/0.1151, allocations: 0.5138 MB / 466.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1151, allocations: 0 / 466.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.1152, allocations: 0 / 466.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.1152, allocations: 0 / 466.5 MB, free: 14.16 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.001172/0.1163, allocations: 0.7262 MB / 467.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.1164, allocations: 8.031 kB / 467.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006923/0.1171, allocations: 88.3 kB / 467.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005918/0.1177, allocations: 396.1 kB / 467.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.1177, allocations: 21.38 kB / 467.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.1179, allocations: 52.03 kB / 467.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000768/0.1186, allocations: 484.8 kB / 468.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.1187, allocations: 0 / 468.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.75e-05/0.1187, allocations: 19.94 kB / 468.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001121/0.1189, allocations: 24.98 kB / 468.3 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005657/0.1194, allocations: 347.7 kB / 468.6 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002531/0.122, allocations: 1.625 MB / 470.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004047/0.1224, allocations: 179.1 kB / 470.4 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/0.1226, allocations: 113.7 kB / 470.5 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.1226, allocations: 3.984 kB / 470.5 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/0.1227, allocations: 46.42 kB / 470.6 MB, free: 9.816 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 2.745e-06/0.1227, allocations: 4 kB / 470.6 MB, free: 9.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001512/0.1242, allocations: 0.7753 MB / 471.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.1243, allocations: 77.11 kB / 471.4 MB, free: 8.891 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003256/0.1246, allocations: 316.4 kB / 471.7 MB, free: 8.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.1246, allocations: 29.7 kB / 471.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000167/0.1248, allocations: 247.5 kB / 472 MB, free: 8.289 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.301e-05/0.1249, allocations: 90.98 kB / 472.1 MB, free: 8.199 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.117e-05/0.125, allocations: 53.7 kB / 472.2 MB, free: 8.141 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002451/0.1252, allocations: 346.8 kB / 472.5 MB, free: 7.793 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.1254, allocations: 95.94 kB / 472.6 MB, free: 7.699 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002266/0.1256, allocations: 200.6 kB / 472.8 MB, free: 7.457 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004307/0.1261, allocations: 327.4 kB / 473.1 MB, free: 7.094 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1261, allocations: 0 / 473.1 MB, free: 7.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008662/0.127, allocations: 431.5 kB / 473.5 MB, free: 6.664 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.127, allocations: 8.031 kB / 473.5 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005219/0.1275, allocations: 266.9 kB / 473.8 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003758/0.1279, allocations: 76.78 kB / 473.9 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002774/0.1282, allocations: 67.84 kB / 473.9 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001595/0.1298, allocations: 1.577 MB / 475.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/0.13, allocations: 15.89 kB / 475.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.279e-05/0.1301, allocations: 12 kB / 475.5 MB, free: 4.508 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.000257/0.1303, allocations: 197.7 kB / 475.7 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.926e-05/0.1304, allocations: 23.72 kB / 475.8 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000442/0.1308, allocations: 272.5 kB / 476 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.1309, allocations: 7.984 kB / 476 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.1309, allocations: 0 / 476 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1309, allocations: 0 / 476 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.132, allocations: 0.742 MB / 476.8 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.132, allocations: 8.141 kB / 476.8 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002704/0.1323, allocations: 47.97 kB / 476.8 MB, free: 3.145 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.1323, allocations: 7.922 kB / 476.8 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/0.1323, allocations: 11.94 kB / 476.9 MB, free: 3.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.543e-06/0.1324, allocations: 7.984 kB / 476.9 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.1324, allocations: 8 kB / 476.9 MB, free: 3.109 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005468/0.1329, allocations: 453 kB / 477.3 MB, free: 2.645 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.171e-05/0.133, allocations: 112.8 kB / 477.4 MB, free: 2.516 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.994e-05/0.1331, allocations: 4 kB / 477.4 MB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.1332, allocations: 7.938 kB / 477.4 MB, free: 2.504 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.993e-05/0.1333, allocations: 27.91 kB / 477.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.1333, allocations: 8 kB / 477.5 MB, free: 2.469 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002025/0.1335, allocations: 215 kB / 477.7 MB, free: 2.258 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1335, allocations: 0 / 477.7 MB, free: 2.258 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003918/0.1339, allocations: 88 kB / 477.8 MB, free: 2.172 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.0001441/0.134, allocations: 103.2 kB / 477.9 MB, free: 2.059 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006308/0.1347, allocations: 372.9 kB / 478.2 MB, free: 1.684 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1347, allocations: 0 / 478.2 MB, free: 1.684 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.1349, allocations: 103.8 kB / 478.3 MB, free: 1.582 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004777/0.1353, allocations: 62.47 kB / 478.4 MB, free: 1.523 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.1368, allocations: 1.067 MB / 479.5 MB, free: 432 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004206/0.1372, allocations: 0.8424 MB / 480.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002122/0.1375, allocations: 78.89 kB / 480.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.491e-05/0.1375, allocations: 27.44 kB / 480.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of SimCode: time 1.503e-06/0.1375, allocations: 0 / 480.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of Templates: time 0.006942/0.1445, allocations: 3.34 MB / 483.7 MB, free: 12.13 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