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.001241/0.001241, allocations: 115.4 kB / 17.69 MB, free: 5.312 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.001342/0.001343, allocations: 191 kB / 18.63 MB, free: 4.379 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.446/1.446, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1749/0.1749, allocations: 38.04 MB / 330.5 MB, free: 8.809 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 64.97 kB / 400.3 MB, free: 33.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1146, allocations: 58.05 MB / 458.3 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.006314/0.121, allocations: 4.718 MB / 463 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002135/0.1232, allocations: 1.34 MB / 464.4 MB, free: 1.273 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000193/0.1234, allocations: 11.94 kB / 464.4 MB, free: 1.262 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001123/0.1245, allocations: 410.3 kB / 464.8 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000525/0.1251, allocations: 242.7 kB / 465 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000451/0.1255, allocations: 179.6 kB / 465.2 MB, free: 456 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006069/0.1262, allocations: 0.5451 MB / 465.7 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004953/0.1267, allocations: 345.8 kB / 466.1 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003141/0.127, allocations: 250.9 kB / 466.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003957/0.1274, allocations: 279 kB / 466.6 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.93e-05/0.1275, allocations: 32 kB / 466.6 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002888/0.1278, allocations: 135.8 kB / 466.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001836/0.1279, allocations: 179.5 kB / 466.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002172/0.1282, allocations: 230.8 kB / 467.2 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005606/0.1287, allocations: 0.5256 MB / 467.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1288, allocations: 0 / 467.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1288, allocations: 0 / 467.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.236e-06/0.1288, allocations: 0 / 467.7 MB, free: 13.95 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.001179/0.13, allocations: 0.7184 MB / 468.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.13, allocations: 11.97 kB / 468.4 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007617/0.1308, allocations: 88.31 kB / 468.5 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007159/0.1315, allocations: 412.1 kB / 468.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.879e-05/0.1315, allocations: 29.36 kB / 468.9 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/0.1317, allocations: 52.05 kB / 469 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006601/0.1324, allocations: 476.8 kB / 469.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.1324, allocations: 0 / 469.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.726e-05/0.1324, allocations: 19.98 kB / 469.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001043/0.1325, allocations: 28.92 kB / 469.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005532/0.1331, allocations: 339.7 kB / 469.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002448/0.1356, allocations: 1.629 MB / 471.5 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003669/0.1359, allocations: 169.2 kB / 471.6 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/0.1361, allocations: 117.7 kB / 471.7 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.1362, allocations: 0 / 471.7 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.551e-05/0.1362, allocations: 46.5 kB / 471.8 MB, free: 9.602 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.794e-06/0.1362, allocations: 0 / 471.8 MB, free: 9.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001658/0.1379, allocations: 0.7721 MB / 472.6 MB, free: 8.777 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.898e-05/0.138, allocations: 81.05 kB / 472.6 MB, free: 8.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003507/0.1383, allocations: 312.5 kB / 472.9 MB, free: 8.371 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.1384, allocations: 25.7 kB / 473 MB, free: 8.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002038/0.1386, allocations: 255.6 kB / 473.2 MB, free: 8.086 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.034e-05/0.1387, allocations: 78.94 kB / 473.3 MB, free: 8.008 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.1388, allocations: 61.61 kB / 473.4 MB, free: 7.941 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.1389, allocations: 342.8 kB / 473.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.1391, allocations: 95.94 kB / 473.8 MB, free: 7.504 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000221/0.1393, allocations: 196.6 kB / 474 MB, free: 7.266 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004017/0.1398, allocations: 335.3 kB / 474.3 MB, free: 6.895 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1398, allocations: 0 / 474.3 MB, free: 6.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007743/0.1405, allocations: 433.7 kB / 474.7 MB, free: 6.461 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.1406, allocations: 4 kB / 474.7 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004966/0.1411, allocations: 266.9 kB / 475 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003756/0.1415, allocations: 80.77 kB / 475.1 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002656/0.1417, allocations: 63.91 kB / 475.1 MB, free: 6.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00186/0.1436, allocations: 1.711 MB / 476.8 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002165/0.1438, allocations: 11.94 kB / 476.9 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.58e-05/0.1439, allocations: 19.98 kB / 476.9 MB, free: 4.168 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.000246/0.1441, allocations: 181.7 kB / 477.1 MB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.026e-05/0.1442, allocations: 35.56 kB / 477.1 MB, free: 3.945 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004509/0.1447, allocations: 282.5 kB / 477.4 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.1447, allocations: 4 kB / 477.4 MB, free: 3.656 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.1447, allocations: 4.062 kB / 477.4 MB, free: 3.652 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.1447, allocations: 3.984 kB / 477.4 MB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001154/0.1459, allocations: 0.7381 MB / 478.1 MB, free: 2.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.1459, allocations: 4 kB / 478.1 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002618/0.1461, allocations: 55.91 kB / 478.2 MB, free: 2.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1461, allocations: 64 / 478.2 MB, free: 2.789 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-05/0.1462, allocations: 15.94 kB / 478.2 MB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.1462, allocations: 0 / 478.2 MB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1462, allocations: 4 kB / 478.2 MB, free: 2.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005304/0.1467, allocations: 454.3 kB / 478.6 MB, free: 2.301 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.525e-05/0.1468, allocations: 112.9 kB / 478.7 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.453e-05/0.1469, allocations: 11.92 kB / 478.8 MB, free: 2.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.147, allocations: 4 kB / 478.8 MB, free: 2.156 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.1471, allocations: 15.98 kB / 478.8 MB, free: 2.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.1471, allocations: 7.984 kB / 478.8 MB, free: 2.133 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002049/0.1473, allocations: 219.1 kB / 479 MB, free: 1.918 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1473, allocations: 0 / 479 MB, free: 1.918 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003993/0.1477, allocations: 84 kB / 479.1 MB, free: 1.836 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.0002059/0.1479, allocations: 115.1 kB / 479.2 MB, free: 1.715 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006607/0.1486, allocations: 377.3 kB / 479.6 MB, free: 1.336 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1486, allocations: 0 / 479.6 MB, free: 1.336 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.1488, allocations: 95.53 kB / 479.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000494/0.1493, allocations: 69.52 kB / 479.7 MB, free: 1.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.1507, allocations: 0.9086 MB / 480.6 MB, free: 240 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004317/0.1512, allocations: 0.85 MB / 481.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001798/0.1514, allocations: 74.89 kB / 481.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.579e-05/0.1514, allocations: 31.44 kB / 481.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1515, allocations: 0 / 481.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of Templates: time 0.007632/0.1591, allocations: 3.486 MB / 485.1 MB, free: 11.8 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches