Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.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.Generation.PQsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 113 kB / 17.68 MB, free: 5.355 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.002021/0.002021, allocations: 190.9 kB / 18.62 MB, free: 4.434 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.522/1.522, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1824/0.1824, allocations: 38.04 MB / 330.5 MB, free: 8.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 65.39 kB / 400.2 MB, free: 33.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1311, allocations: 58.07 MB / 458.3 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.006777/0.1379, allocations: 4.58 MB / 462.9 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002442/0.1404, allocations: 1.305 MB / 464.2 MB, free: 1.434 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002357/0.1406, allocations: 15.88 kB / 464.2 MB, free: 1.418 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001274/0.142, allocations: 398.3 kB / 464.6 MB, free: 1.027 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006549/0.1427, allocations: 254.8 kB / 464.8 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005377/0.1432, allocations: 167.6 kB / 465 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006738/0.1439, allocations: 0.5646 MB / 465.6 MB, free: 48 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005802/0.1445, allocations: 285.2 kB / 465.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004158/0.1449, allocations: 247 kB / 466.1 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000545/0.1455, allocations: 287 kB / 466.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.746e-05/0.1455, allocations: 32 kB / 466.4 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003095/0.1459, allocations: 123.8 kB / 466.5 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002638/0.1461, allocations: 195.5 kB / 466.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000281/0.1464, allocations: 215 kB / 466.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007541/0.1472, allocations: 0.5178 MB / 467.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.335e-06/0.1472, allocations: 0 / 467.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.686e-06/0.1472, allocations: 0 / 467.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.1472, allocations: 0 / 467.4 MB, free: 14.18 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.00152/0.1488, allocations: 0.6991 MB / 468.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.009e-05/0.1489, allocations: 11.89 kB / 468.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006831/0.1496, allocations: 88.34 kB / 468.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008327/0.1504, allocations: 415.2 kB / 468.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.757e-05/0.1505, allocations: 29.36 kB / 468.7 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001529/0.1506, allocations: 48.11 kB / 468.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007504/0.1514, allocations: 476.8 kB / 469.2 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.1514, allocations: 0 / 469.2 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.168e-05/0.1515, allocations: 19.98 kB / 469.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001033/0.1516, allocations: 24.98 kB / 469.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005468/0.1521, allocations: 347.7 kB / 469.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002378/0.1545, allocations: 1.725 MB / 471.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003152/0.1548, allocations: 149.1 kB / 471.4 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001578/0.155, allocations: 118 kB / 471.6 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.155, allocations: 3.938 kB / 471.6 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.471e-05/0.1551, allocations: 42.5 kB / 471.6 MB, free: 9.738 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.513e-06/0.1551, allocations: 3.938 kB / 471.6 MB, free: 9.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.00173/0.1568, allocations: 0.879 MB / 472.5 MB, free: 8.781 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.1569, allocations: 77.11 kB / 472.6 MB, free: 8.688 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003447/0.1573, allocations: 312.5 kB / 472.9 MB, free: 8.375 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.1573, allocations: 33.64 kB / 472.9 MB, free: 8.336 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/0.1575, allocations: 255.4 kB / 473.1 MB, free: 8.082 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.794e-05/0.1576, allocations: 67.03 kB / 473.2 MB, free: 8.016 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.1577, allocations: 57.98 kB / 473.3 MB, free: 7.949 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002022/0.1579, allocations: 350.8 kB / 473.6 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.1581, allocations: 96.22 kB / 473.7 MB, free: 7.504 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002317/0.1583, allocations: 201.4 kB / 473.9 MB, free: 7.262 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000413/0.1587, allocations: 326.8 kB / 474.2 MB, free: 6.898 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1587, allocations: 8 kB / 474.2 MB, free: 6.891 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008619/0.1596, allocations: 469.4 kB / 474.7 MB, free: 6.422 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.1596, allocations: 4.438 kB / 474.7 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006051/0.1602, allocations: 319.9 kB / 475 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005228/0.1608, allocations: 136.7 kB / 475.1 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.161, allocations: 55.91 kB / 475.2 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003413/0.1644, allocations: 2.434 MB / 477.6 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002531/0.1647, allocations: 15.98 kB / 477.6 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.701e-05/0.1647, allocations: 16 kB / 477.7 MB, free: 3.312 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 (29): * Single equations (assignments): 28 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0003651/0.1651, allocations: 193.7 kB / 477.8 MB, free: 3.113 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.207e-05/0.1652, allocations: 23.72 kB / 477.9 MB, free: 3.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005116/0.1657, allocations: 273.2 kB / 478.1 MB, free: 2.809 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.1657, allocations: 0 / 478.1 MB, free: 2.809 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1657, allocations: 4 kB / 478.1 MB, free: 2.805 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.1657, allocations: 0 / 478.1 MB, free: 2.805 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001245/0.167, allocations: 0.7459 MB / 478.9 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.167, allocations: 4 kB / 478.9 MB, free: 1.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002131/0.1672, allocations: 31.98 kB / 478.9 MB, free: 1.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001232/0.1674, allocations: 40.83 kB / 479 MB, free: 1.918 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.1674, allocations: 4.062 kB / 479 MB, free: 1.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.1674, allocations: 8 kB / 479 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1674, allocations: 3.938 kB / 479 MB, free: 1.902 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005526/0.168, allocations: 445 kB / 479.4 MB, free: 1.441 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.654e-05/0.1681, allocations: 108.8 kB / 479.5 MB, free: 1.316 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.895e-05/0.1681, allocations: 8 kB / 479.5 MB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.1683, allocations: 11.98 kB / 479.5 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.1683, allocations: 15.86 kB / 479.6 MB, free: 1.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.1684, allocations: 7.938 kB / 479.6 MB, free: 1.273 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002208/0.1686, allocations: 219.1 kB / 479.8 MB, free: 1.062 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1686, allocations: 4 kB / 479.8 MB, free: 1.059 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004895/0.1691, allocations: 84 kB / 479.9 MB, free: 0.9766 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001533/0.1692, allocations: 111.1 kB / 480 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007603/0.17, allocations: 411 kB / 480.4 MB, free: 456 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.17, allocations: 0 / 480.4 MB, free: 456 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002368/0.1703, allocations: 185.9 kB / 480.6 MB, free: 248 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004952/0.1708, allocations: 57.05 kB / 480.6 MB, free: 192 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.1723, allocations: 0.8664 MB / 481.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004731/0.1728, allocations: 0.8419 MB / 482.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002008/0.173, allocations: 58.92 kB / 482.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.401e-05/0.1731, allocations: 23.44 kB / 482.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of SimCode: time 7.52e-07/0.1731, allocations: 0 / 482.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of Templates: time 0.00844/0.1815, allocations: 3.801 MB / 486.2 MB, free: 10.56 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PQsource.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches