Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.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.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|line.i.1.|line.i.2.|line.p.1.|line.p.2.|line.v.1.|line.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest") translateModel(PowerSystems.Examples.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|line.i.1.|line.i.2.|line.p.1.|line.p.2.|line.v.1.|line.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001529/0.001528, allocations: 114.3 kB / 16.63 MB, free: 6.812 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.001638/0.001638, allocations: 190 kB / 17.55 MB, free: 5.934 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.386/1.386, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1813/0.1813, allocations: 38.03 MB / 329.4 MB, free: 9.027 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 68.47 kB / 398.3 MB, free: 34.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1236, allocations: 58.06 MB / 456.3 MB, free: 8.434 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.005302/0.129, allocations: 3.712 MB / 460.1 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002219/0.1312, allocations: 1.547 MB / 461.6 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002047/0.1314, allocations: 15.88 kB / 461.6 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007923/0.1323, allocations: 247.1 kB / 461.9 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006092/0.1329, allocations: 255.1 kB / 462.1 MB, free: 2.633 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003122/0.1332, allocations: 111.7 kB / 462.2 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004018/0.1336, allocations: 347 kB / 462.6 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00033/0.134, allocations: 149.9 kB / 462.7 MB, free: 2.035 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002528/0.1342, allocations: 151.4 kB / 462.9 MB, free: 1.887 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002406/0.1345, allocations: 171.4 kB / 463 MB, free: 1.719 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.838e-05/0.1345, allocations: 16 kB / 463 MB, free: 1.703 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004827/0.135, allocations: 331.1 kB / 463.4 MB, free: 1.379 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.1351, allocations: 99.73 kB / 463.5 MB, free: 1.281 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.1353, allocations: 103.5 kB / 463.6 MB, free: 1.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005659/0.1358, allocations: 382.9 kB / 463.9 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1358, allocations: 0 / 463.9 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1359, allocations: 4 kB / 463.9 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.1359, allocations: 0 / 463.9 MB, free: 0.8008 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007416/0.1366, allocations: 0.5181 MB / 464.5 MB, free: 240 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.1367, allocations: 8.031 kB / 464.5 MB, free: 232 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009129/0.1376, allocations: 92.62 kB / 464.6 MB, free: 140 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003211/0.1379, allocations: 263.7 kB / 464.8 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.1379, allocations: 16.33 kB / 464.8 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.402e-05/0.138, allocations: 20.36 kB / 464.8 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005006/0.1385, allocations: 318 kB / 465.2 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.1385, allocations: 3.938 kB / 465.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.619e-05/0.1386, allocations: 7.984 kB / 465.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.452e-05/0.1386, allocations: 19.98 kB / 465.2 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004274/0.139, allocations: 287.8 kB / 465.5 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001653/0.1407, allocations: 1.275 MB / 466.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00044/0.1411, allocations: 229.1 kB / 467 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.1413, allocations: 105.7 kB / 467.1 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.1413, allocations: 4 kB / 467.1 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.989e-05/0.1414, allocations: 34.56 kB / 467.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.884e-06/0.1414, allocations: 3.938 kB / 467.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008095/0.1422, allocations: 448 kB / 467.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.1422, allocations: 81.05 kB / 467.6 MB, free: 12.85 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.1424, allocations: 198.3 kB / 467.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.1425, allocations: 33.83 kB / 467.9 MB, free: 12.61 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.313e-05/0.1426, allocations: 159.8 kB / 468 MB, free: 12.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.578e-05/0.1426, allocations: 55.2 kB / 468.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.305e-05/0.1427, allocations: 45.7 kB / 468.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.1428, allocations: 334.8 kB / 468.4 MB, free: 12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.1429, allocations: 87.94 kB / 468.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.1431, allocations: 158.2 kB / 468.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003126/0.1434, allocations: 264.3 kB / 468.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1435, allocations: 0 / 468.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003983/0.1439, allocations: 296 kB / 469.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.1439, allocations: 8 kB / 469.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.1439, allocations: 0 / 469.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.1439, allocations: 7.938 kB / 469.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002461/0.1442, allocations: 55.89 kB / 469.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.1442, allocations: 8 kB / 469.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.1443, allocations: 15.98 kB / 469.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/0.1444, allocations: 12 kB / 469.3 MB, free: 11.05 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001374/0.1445, allocations: 153.8 kB / 469.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.377e-05/0.1446, allocations: 23.72 kB / 469.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003594/0.1449, allocations: 227.3 kB / 469.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.1449, allocations: 4 kB / 469.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1449, allocations: 0 / 469.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.145, allocations: 0 / 469.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001234/0.1462, allocations: 0.9594 MB / 470.7 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.1462, allocations: 4 kB / 470.7 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.1464, allocations: 31.97 kB / 470.7 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.296e-06/0.1464, allocations: 8 kB / 470.7 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.1464, allocations: 8 kB / 470.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.495e-05/0.1464, allocations: 11.88 kB / 470.8 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.1464, allocations: 4 kB / 470.8 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004254/0.1468, allocations: 421 kB / 471.2 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.884e-05/0.1469, allocations: 92.92 kB / 471.3 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.574e-05/0.147, allocations: 19.98 kB / 471.3 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/0.1471, allocations: 15.94 kB / 471.3 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.308e-05/0.1472, allocations: 11.98 kB / 471.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.292e-05/0.1472, allocations: 19.92 kB / 471.3 MB, free: 8.852 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001214/0.1473, allocations: 150.9 kB / 471.5 MB, free: 8.703 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1473, allocations: 4 kB / 471.5 MB, free: 8.699 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003412/0.1477, allocations: 52 kB / 471.5 MB, free: 8.648 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 simulation (18): * Single equations (assignments): 17 * 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.0001056/0.1478, allocations: 99.25 kB / 471.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003423/0.1481, allocations: 221.8 kB / 471.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1482, allocations: 0.5625 kB / 471.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.1483, allocations: 103.8 kB / 471.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004298/0.1487, allocations: 46.66 kB / 472 MB, free: 8.184 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008901/0.1496, allocations: 0.6515 MB / 472.6 MB, free: 7.461 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.15, allocations: 0.7593 MB / 473.4 MB, free: 6.672 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000163/0.1501, allocations: 61.42 kB / 473.5 MB, free: 6.605 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.319e-05/0.1502, allocations: 19.44 kB / 473.5 MB, free: 6.586 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1502, allocations: 0 / 473.5 MB, free: 6.586 MB / 350.1 MB Notification: Performance of Templates: time 0.00446/0.1547, allocations: 1.873 MB / 475.3 MB, free: 4.719 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.FixedCurrentTest.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches