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.001625/0.001625, allocations: 113.6 kB / 17.69 MB, free: 5.309 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.001626/0.001626, allocations: 192 kB / 18.63 MB, free: 4.375 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.343/1.343, allocations: 222.9 MB / 242.3 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1779/0.1779, allocations: 38.04 MB / 330.5 MB, free: 8.844 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 66.33 kB / 400.3 MB, free: 33.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1123, allocations: 58.05 MB / 458.3 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.005901/0.1183, allocations: 4.716 MB / 463 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002021/0.1203, allocations: 1.332 MB / 464.4 MB, free: 1.309 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001633/0.1205, allocations: 15.94 kB / 464.4 MB, free: 1.293 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001071/0.1216, allocations: 410.2 kB / 464.8 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004597/0.1221, allocations: 238.7 kB / 465 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004324/0.1225, allocations: 183.6 kB / 465.2 MB, free: 488 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005348/0.1231, allocations: 0.549 MB / 465.7 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004869/0.1236, allocations: 345.8 kB / 466.1 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002957/0.1239, allocations: 254.9 kB / 466.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003933/0.1243, allocations: 275 kB / 466.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.736e-05/0.1243, allocations: 32 kB / 466.6 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002565/0.1246, allocations: 127.8 kB / 466.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001801/0.1248, allocations: 179.5 kB / 466.9 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000209/0.125, allocations: 234.8 kB / 467.2 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005038/0.1255, allocations: 0.5256 MB / 467.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1255, allocations: 0 / 467.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1255, allocations: 0 / 467.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.1256, allocations: 0 / 467.7 MB, free: 13.98 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.00104/0.1266, allocations: 0.7184 MB / 468.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.1266, allocations: 8.031 kB / 468.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006632/0.1273, allocations: 96.31 kB / 468.5 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000806/0.1281, allocations: 404.1 kB / 468.9 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.746e-05/0.1282, allocations: 29.38 kB / 468.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/0.1283, allocations: 52.09 kB / 469 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006956/0.129, allocations: 472.8 kB / 469.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.1291, allocations: 0 / 469.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.7e-05/0.1291, allocations: 20 kB / 469.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001015/0.1292, allocations: 24.98 kB / 469.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005279/0.1297, allocations: 347.7 kB / 469.8 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002392/0.1321, allocations: 1.629 MB / 471.5 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003354/0.1325, allocations: 173.1 kB / 471.6 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001676/0.1327, allocations: 113.7 kB / 471.7 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.1327, allocations: 0 / 471.7 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.1327, allocations: 42.5 kB / 471.8 MB, free: 9.641 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.242e-06/0.1327, allocations: 0 / 471.8 MB, free: 9.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001303/0.1341, allocations: 0.787 MB / 472.6 MB, free: 8.805 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/0.1341, allocations: 85.05 kB / 472.6 MB, free: 8.703 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002949/0.1344, allocations: 304.5 kB / 472.9 MB, free: 8.402 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.1345, allocations: 25.7 kB / 473 MB, free: 8.371 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002481/0.1347, allocations: 255.5 kB / 473.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.771e-05/0.1348, allocations: 75 kB / 473.3 MB, free: 8.043 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.1349, allocations: 73.66 kB / 473.4 MB, free: 7.965 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.135, allocations: 338.8 kB / 473.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.1352, allocations: 95.94 kB / 473.8 MB, free: 7.531 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000218/0.1354, allocations: 196.6 kB / 474 MB, free: 7.293 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004249/0.1359, allocations: 335.4 kB / 474.3 MB, free: 6.922 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.1359, allocations: 7.938 kB / 474.3 MB, free: 6.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008585/0.1367, allocations: 421.8 kB / 474.7 MB, free: 6.492 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.1368, allocations: 12.06 kB / 474.7 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004977/0.1373, allocations: 258.9 kB / 475 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003598/0.1376, allocations: 80.72 kB / 475.1 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002429/0.1379, allocations: 63.89 kB / 475.1 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001777/0.1397, allocations: 1.707 MB / 476.8 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001934/0.1399, allocations: 15.98 kB / 476.9 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.468e-05/0.1399, allocations: 20 kB / 476.9 MB, free: 4.199 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.0002487/0.1402, allocations: 189.7 kB / 477.1 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.855e-05/0.1402, allocations: 31.56 kB / 477.1 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000484/0.1407, allocations: 274.4 kB / 477.4 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.1407, allocations: 4 kB / 477.4 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.1408, allocations: 0 / 477.4 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1408, allocations: 0 / 477.4 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/0.1419, allocations: 0.7459 MB / 478.1 MB, free: 2.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.142, allocations: 7.984 kB / 478.1 MB, free: 2.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002731/0.1422, allocations: 51.92 kB / 478.2 MB, free: 2.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1422, allocations: 144 / 478.2 MB, free: 2.824 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.898e-05/0.1423, allocations: 15.92 kB / 478.2 MB, free: 2.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.1423, allocations: 4.062 kB / 478.2 MB, free: 2.805 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.1423, allocations: 7.984 kB / 478.2 MB, free: 2.797 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006878/0.143, allocations: 454.2 kB / 478.6 MB, free: 2.328 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.41e-05/0.1431, allocations: 104.7 kB / 478.7 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.691e-05/0.1431, allocations: 11.94 kB / 478.8 MB, free: 2.195 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.1433, allocations: 7.984 kB / 478.8 MB, free: 2.188 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.167e-05/0.1434, allocations: 15.98 kB / 478.8 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.1434, allocations: 8 kB / 478.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003094/0.1437, allocations: 219 kB / 479 MB, free: 1.949 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1437, allocations: 0 / 479 MB, free: 1.949 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004008/0.1441, allocations: 84 kB / 479.1 MB, free: 1.867 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.0001205/0.1442, allocations: 107.1 kB / 479.2 MB, free: 1.754 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000661/0.1449, allocations: 377.3 kB / 479.6 MB, free: 1.375 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.1449, allocations: 0 / 479.6 MB, free: 1.375 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001766/0.1451, allocations: 98.81 kB / 479.7 MB, free: 1.281 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000637/0.1458, allocations: 76.47 kB / 479.7 MB, free: 1.211 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.1476, allocations: 0.9087 MB / 480.6 MB, free: 272 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005654/0.1482, allocations: 0.85 MB / 481.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002754/0.1485, allocations: 70.91 kB / 481.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.501e-05/0.1486, allocations: 27.44 kB / 481.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1486, allocations: 0 / 481.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of Templates: time 0.008033/0.1566, allocations: 3.488 MB / 485.1 MB, free: 11.83 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 gbode -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