Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.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.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000843/0.000843, allocations: 96.92 kB / 16.3 MB, free: 5.562 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.001044/0.001044, allocations: 183.7 kB / 17.2 MB, free: 5.496 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.183/1.183, allocations: 223.2 MB / 241.1 MB, free: 284 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1579/0.1579, allocations: 38.09 MB / 330.3 MB, free: 8.961 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002595/0.0002595, allocations: 8.75 kB / 400 MB, free: 34.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09475/0.09503, allocations: 59.16 MB / 459.1 MB, free: 7.457 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.00419/0.09925, allocations: 4.283 MB / 463.4 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002065/0.1013, allocations: 1.622 MB / 465 MB, free: 1.523 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001824/0.1015, allocations: 23.81 kB / 465.1 MB, free: 1.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001574/0.1017, allocations: 67.56 kB / 465.1 MB, free: 1.434 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005022/0.1022, allocations: 239.3 kB / 465.4 MB, free: 1.199 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005601/0.1028, allocations: 227.4 kB / 465.6 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003506/0.1031, allocations: 315.8 kB / 465.9 MB, free: 0.668 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005781/0.1037, allocations: 429.8 kB / 466.3 MB, free: 224 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002333/0.104, allocations: 191.3 kB / 466.5 MB, free: 32 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003525/0.1043, allocations: 263.2 kB / 466.7 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.238e-05/0.1044, allocations: 20 kB / 466.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002741/0.1047, allocations: 155.8 kB / 466.9 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001688/0.1049, allocations: 191.5 kB / 467.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.456e-05/0.105, allocations: 109.5 kB / 467.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004289/0.1054, allocations: 498.7 kB / 467.7 MB, free: 14.81 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.1054, allocations: 4 kB / 467.7 MB, free: 14.81 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.91e-07/0.1054, allocations: 0 / 467.7 MB, free: 14.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.1054, allocations: 3.938 kB / 467.7 MB, free: 14.8 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001078/0.1065, allocations: 0.6918 MB / 468.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.758e-05/0.1065, allocations: 11.97 kB / 468.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005782/0.1071, allocations: 91.36 kB / 468.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005687/0.1077, allocations: 398.1 kB / 468.9 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.782e-05/0.1077, allocations: 25 kB / 468.9 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/0.1079, allocations: 47.97 kB / 469 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008537/0.1087, allocations: 0.6914 MB / 469.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.1088, allocations: 3.906 kB / 469.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.259e-05/0.1088, allocations: 16 kB / 469.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001947/0.109, allocations: 68.94 kB / 469.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008764/0.1099, allocations: 0.6596 MB / 470.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003154/0.1131, allocations: 2.646 MB / 473 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004592/0.1135, allocations: 317.3 kB / 473.4 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.964e-05/0.1136, allocations: 12.03 kB / 473.4 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.1136, allocations: 34.56 kB / 473.4 MB, free: 8.805 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 1.673e-06/0.1136, allocations: 0 / 473.4 MB, free: 8.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.001775/0.1154, allocations: 1.446 MB / 474.8 MB, free: 7.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.1155, allocations: 85.11 kB / 474.9 MB, free: 7.168 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002503/0.1157, allocations: 295.2 kB / 475.2 MB, free: 6.867 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.1158, allocations: 33.69 kB / 475.3 MB, free: 6.828 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.1159, allocations: 247.6 kB / 475.5 MB, free: 6.578 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.637e-05/0.116, allocations: 142 kB / 475.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.914e-05/0.116, allocations: 8 kB / 475.6 MB, free: 6.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.1161, allocations: 350.9 kB / 476 MB, free: 6.078 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002372/0.1164, allocations: 180.9 kB / 476.2 MB, free: 5.902 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000314/0.1167, allocations: 333.2 kB / 476.5 MB, free: 5.523 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003034/0.117, allocations: 247.8 kB / 476.7 MB, free: 5.281 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.117, allocations: 0 / 476.7 MB, free: 5.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001051/0.1181, allocations: 0.6622 MB / 477.4 MB, free: 4.605 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.1181, allocations: 8 kB / 477.4 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007405/0.1189, allocations: 500 kB / 477.9 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003774/0.1193, allocations: 109.6 kB / 478 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000274/0.1195, allocations: 91.81 kB / 478.1 MB, free: 3.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002374/0.1219, allocations: 3.065 MB / 481.1 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002062/0.1221, allocations: 19.98 kB / 481.2 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-05/0.1222, allocations: 20 kB / 481.2 MB, free: 0.5312 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002091/0.1224, allocations: 213.6 kB / 481.4 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.954e-05/0.1225, allocations: 31.69 kB / 481.4 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006517/0.1231, allocations: 468.5 kB / 481.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.047e-05/0.1232, allocations: 12 kB / 481.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.1232, allocations: 7.938 kB / 481.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.1232, allocations: 7.922 kB / 481.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001296/0.1245, allocations: 1.017 MB / 482.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.1245, allocations: 0 / 482.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003277/0.1248, allocations: 67.89 kB / 483 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.1249, allocations: 0 / 483 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.598e-05/0.1249, allocations: 11.98 kB / 483 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.1249, allocations: 4 kB / 483 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1249, allocations: 0 / 483 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008423/0.1258, allocations: 0.7797 MB / 483.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001586/0.1259, allocations: 144.7 kB / 483.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.245e-05/0.126, allocations: 4 kB / 483.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.1262, allocations: 15.98 kB / 484 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.189e-05/0.1262, allocations: 23.97 kB / 484 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.298e-05/0.1262, allocations: 8 kB / 484 MB, free: 13.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001807/0.1264, allocations: 203.1 kB / 484.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1264, allocations: 0 / 484.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004703/0.1269, allocations: 116 kB / 484.3 MB, free: 13.27 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.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 (30): * Single equations (assignments): 27 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001729/0.1271, allocations: 119.2 kB / 484.4 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009184/0.128, allocations: 0.7085 MB / 485.1 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.128, allocations: 0 / 485.1 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002361/0.1283, allocations: 207.8 kB / 485.3 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003525/0.1286, allocations: 65.48 kB / 485.4 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.1301, allocations: 1.342 MB / 486.7 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004038/0.1306, allocations: 0.8827 MB / 487.6 MB, free: 9.859 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002551/0.1308, allocations: 103.2 kB / 487.7 MB, free: 9.758 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.729e-05/0.1309, allocations: 31.42 kB / 487.7 MB, free: 9.727 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1309, allocations: 0 / 487.7 MB, free: 9.727 MB / 366.1 MB Notification: Performance of Templates: time 0.007595/0.1385, allocations: 3.967 MB / 491.7 MB, free: 5.777 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.makefile Environment - environmentSimulation: (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Source.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches