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.001269/0.001269, allocations: 99.72 kB / 16.5 MB, free: 6.641 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.001322/0.001322, allocations: 194.6 kB / 17.42 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.328/1.328, allocations: 222.9 MB / 241.1 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1714/0.1714, allocations: 38.04 MB / 329.3 MB, free: 9.078 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 62.69 kB / 398.1 MB, free: 34.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1158, allocations: 58.06 MB / 456.2 MB, free: 8.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.006628/0.1225, allocations: 5.22 MB / 461.4 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002376/0.1249, allocations: 1.5 MB / 462.9 MB, free: 1.785 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002643/0.1251, allocations: 27.81 kB / 462.9 MB, free: 1.758 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001162/0.1263, allocations: 374.6 kB / 463.3 MB, free: 1.391 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005207/0.1268, allocations: 243 kB / 463.5 MB, free: 1.152 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000441/0.1273, allocations: 143.8 kB / 463.6 MB, free: 1.012 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008122/0.1281, allocations: 0.8572 MB / 464.5 MB, free: 156 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004884/0.1286, allocations: 278.8 kB / 464.8 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003218/0.129, allocations: 215 kB / 465 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005269/0.1295, allocations: 303 kB / 465.3 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.98e-05/0.1296, allocations: 24 kB / 465.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002678/0.1298, allocations: 135.7 kB / 465.4 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001941/0.13, allocations: 187.5 kB / 465.6 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002253/0.1303, allocations: 206.9 kB / 465.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005295/0.1308, allocations: 0.5022 MB / 466.3 MB, free: 14.33 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1308, allocations: 0 / 466.3 MB, free: 14.33 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1308, allocations: 4 kB / 466.3 MB, free: 14.33 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.1308, allocations: 0 / 466.3 MB, free: 14.33 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.001271/0.1321, allocations: 0.7068 MB / 467 MB, free: 13.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.1322, allocations: 12.03 kB / 467 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005851/0.1328, allocations: 80.31 kB / 467.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005998/0.1334, allocations: 383.3 kB / 467.5 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/0.1334, allocations: 33.36 kB / 467.5 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/0.1336, allocations: 48.11 kB / 467.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007486/0.1343, allocations: 472.8 kB / 468 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.1343, allocations: 11.89 kB / 468.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.769e-05/0.1344, allocations: 15.98 kB / 468.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001147/0.1345, allocations: 24.98 kB / 468.1 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006031/0.1351, allocations: 355.7 kB / 468.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00223/0.1374, allocations: 1.725 MB / 470.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003106/0.1377, allocations: 153.1 kB / 470.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.1379, allocations: 117.7 kB / 470.4 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.1379, allocations: 4.219 kB / 470.4 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.1379, allocations: 42.44 kB / 470.5 MB, free: 9.902 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.723e-06/0.1379, allocations: 0 / 470.5 MB, free: 9.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001605/0.1396, allocations: 0.8838 MB / 471.4 MB, free: 8.945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.1396, allocations: 81.05 kB / 471.4 MB, free: 8.848 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003826/0.14, allocations: 316.4 kB / 471.7 MB, free: 8.527 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.14, allocations: 29.7 kB / 471.8 MB, free: 8.492 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001623/0.1402, allocations: 259.6 kB / 472 MB, free: 8.234 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.106e-05/0.1403, allocations: 59.11 kB / 472.1 MB, free: 8.176 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.84e-05/0.1404, allocations: 61.97 kB / 472.1 MB, free: 8.105 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.1406, allocations: 342.8 kB / 472.5 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.1407, allocations: 96.22 kB / 472.6 MB, free: 7.668 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002393/0.141, allocations: 205.2 kB / 472.8 MB, free: 7.422 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004139/0.1414, allocations: 328.5 kB / 473.1 MB, free: 7.055 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.1414, allocations: 0 / 473.1 MB, free: 7.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008948/0.1423, allocations: 472.6 kB / 473.6 MB, free: 6.586 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.1423, allocations: 4 kB / 473.6 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006116/0.1429, allocations: 320.3 kB / 473.9 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004941/0.1435, allocations: 136.9 kB / 474 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002027/0.1437, allocations: 59.91 kB / 474.1 MB, free: 6.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002796/0.1465, allocations: 2.208 MB / 476.3 MB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001997/0.1467, allocations: 23.86 kB / 476.3 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.061e-05/0.1467, allocations: 8 kB / 476.3 MB, free: 3.699 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.0002437/0.147, allocations: 189.7 kB / 476.5 MB, free: 3.504 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.263e-05/0.147, allocations: 27.62 kB / 476.5 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004663/0.1475, allocations: 268.3 kB / 476.8 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.1475, allocations: 3.938 kB / 476.8 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.1475, allocations: 8 kB / 476.8 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1475, allocations: 0 / 476.8 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.1487, allocations: 0.739 MB / 477.5 MB, free: 2.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1487, allocations: 0 / 477.5 MB, free: 2.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002194/0.149, allocations: 31.98 kB / 477.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001074/0.1491, allocations: 44.89 kB / 477.6 MB, free: 2.309 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.1491, allocations: 0 / 477.6 MB, free: 2.309 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.1491, allocations: 7.938 kB / 477.6 MB, free: 2.301 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1491, allocations: 0 / 477.6 MB, free: 2.301 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005604/0.1497, allocations: 446.3 kB / 478.1 MB, free: 1.836 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.706e-05/0.1498, allocations: 104.8 kB / 478.2 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.246e-05/0.1498, allocations: 11.94 kB / 478.2 MB, free: 1.703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.15, allocations: 4 kB / 478.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/0.15, allocations: 19.91 kB / 478.2 MB, free: 1.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.15, allocations: 4 kB / 478.2 MB, free: 1.676 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002201/0.1503, allocations: 219.1 kB / 478.4 MB, free: 1.465 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1503, allocations: 0 / 478.4 MB, free: 1.465 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004482/0.1507, allocations: 88 kB / 478.5 MB, free: 1.379 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.0001309/0.1509, allocations: 107.2 kB / 478.6 MB, free: 1.266 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006921/0.1516, allocations: 406.9 kB / 479 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1516, allocations: 0 / 479 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002251/0.1518, allocations: 185.8 kB / 479.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005146/0.1523, allocations: 67.66 kB / 479.2 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.1538, allocations: 1.013 MB / 480.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004808/0.1542, allocations: 0.8422 MB / 481.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000194/0.1544, allocations: 62.91 kB / 481.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.444e-05/0.1545, allocations: 23.44 kB / 481.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1545, allocations: 0 / 481.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of Templates: time 0.007831/0.1624, allocations: 3.633 MB / 484.8 MB, free: 10.98 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PQsource.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches