Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.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.InductiveLoadTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest") translateModel(PowerSystems.Examples.Generic.Test.InductiveLoadTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007296/0.0007297, allocations: 88.39 kB / 16.31 MB, free: 6.449 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.000813/0.0008131, allocations: 183.1 kB / 17.21 MB, free: 6.32 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.195/1.195, allocations: 223.3 MB / 241.2 MB, free: 288 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1604/0.1604, allocations: 38.09 MB / 330.4 MB, free: 8.949 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002737/0.0002737, allocations: 8 kB / 400.1 MB, free: 34.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09423/0.09452, allocations: 59.17 MB / 459.2 MB, free: 7.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.003799/0.09835, allocations: 3.639 MB / 462.9 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002067/0.1004, allocations: 1.738 MB / 464.6 MB, free: 2.031 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001685/0.1006, allocations: 11.94 kB / 464.6 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001627/0.1008, allocations: 55.61 kB / 464.7 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006895/0.1015, allocations: 314.8 kB / 465 MB, free: 1.656 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000278/0.1018, allocations: 115.7 kB / 465.1 MB, free: 1.543 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006067/0.1024, allocations: 0.635 MB / 465.7 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006758/0.1031, allocations: 402.6 kB / 466.1 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002842/0.1034, allocations: 175.2 kB / 466.3 MB, free: 332 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003015/0.1037, allocations: 215.3 kB / 466.5 MB, free: 116 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.929e-05/0.1037, allocations: 12 kB / 466.5 MB, free: 104 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005059/0.1043, allocations: 247.3 kB / 466.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000151/0.1044, allocations: 147.6 kB / 466.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.912e-05/0.1045, allocations: 77.58 kB / 467 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003905/0.1049, allocations: 359.2 kB / 467.3 MB, free: 15.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1049, allocations: 0 / 467.3 MB, free: 15.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1049, allocations: 0 / 467.3 MB, free: 15.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.1049, allocations: 0 / 467.3 MB, free: 15.28 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0006632/0.1056, allocations: 0.5456 MB / 467.9 MB, free: 14.69 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.1056, allocations: 8.031 kB / 467.9 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001064/0.1067, allocations: 135.5 kB / 468 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003168/0.107, allocations: 288.1 kB / 468.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.893e-05/0.1071, allocations: 20.55 kB / 468.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.847e-05/0.1071, allocations: 27.94 kB / 468.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005949/0.1077, allocations: 435.6 kB / 468.8 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.1078, allocations: 4 kB / 468.8 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.073e-05/0.1078, allocations: 8 kB / 468.8 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.876e-05/0.1079, allocations: 36.47 kB / 468.8 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000561/0.1084, allocations: 421.9 kB / 469.2 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001955/0.1104, allocations: 1.718 MB / 471 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003384/0.1107, allocations: 290.7 kB / 471.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00017/0.1109, allocations: 138.1 kB / 471.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.111, allocations: 12.16 kB / 471.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.111, allocations: 38.75 kB / 471.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.383e-06/0.111, allocations: 0 / 471.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001532/0.1125, allocations: 0.786 MB / 472.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.1126, allocations: 77.11 kB / 472.3 MB, free: 9.988 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.1128, allocations: 215.1 kB / 472.5 MB, free: 9.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.1128, allocations: 29.7 kB / 472.5 MB, free: 9.734 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.098e-05/0.1129, allocations: 184 kB / 472.7 MB, free: 9.551 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.279e-05/0.113, allocations: 78.91 kB / 472.8 MB, free: 9.473 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.381e-05/0.113, allocations: 4 kB / 472.8 MB, free: 9.469 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.93e-05/0.1131, allocations: 334.8 kB / 473.1 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.1133, allocations: 108.5 kB / 473.2 MB, free: 9.023 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001956/0.1135, allocations: 209 kB / 473.4 MB, free: 8.777 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/0.1137, allocations: 139.9 kB / 473.6 MB, free: 8.641 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1137, allocations: 3.953 kB / 473.6 MB, free: 8.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006642/0.1143, allocations: 421.7 kB / 474 MB, free: 8.215 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.1144, allocations: 11.98 kB / 474 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.1144, allocations: 3.953 kB / 474 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003259/0.1147, allocations: 85.17 kB / 474.1 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.1149, allocations: 63.84 kB / 474.1 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00168/0.1166, allocations: 1.787 MB / 475.9 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.1168, allocations: 16.23 kB / 475.9 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.455e-05/0.1168, allocations: 16 kB / 476 MB, free: 6.102 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001615/0.117, allocations: 181.6 kB / 476.1 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.478e-05/0.117, allocations: 31.72 kB / 476.2 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006591/0.1177, allocations: 380.8 kB / 476.5 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.1177, allocations: 0 / 476.5 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/0.1177, allocations: 4 kB / 476.5 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.1177, allocations: 3.984 kB / 476.5 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001274/0.119, allocations: 0.9059 MB / 477.5 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.119, allocations: 0 / 477.5 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.1192, allocations: 43.91 kB / 477.5 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002262/0.1194, allocations: 72.86 kB / 477.6 MB, free: 4.391 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.1194, allocations: 3.953 kB / 477.6 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001505/0.121, allocations: 1.713 MB / 479.3 MB, free: 2.539 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.121, allocations: 0 / 479.3 MB, free: 2.539 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006051/0.1216, allocations: 466.4 kB / 479.7 MB, free: 2.055 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.034e-05/0.1217, allocations: 100.8 kB / 479.8 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.232e-05/0.1217, allocations: 16.12 kB / 479.9 MB, free: 1.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.1218, allocations: 7.984 kB / 479.9 MB, free: 1.914 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.1219, allocations: 19.94 kB / 479.9 MB, free: 1.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.1219, allocations: 15.98 kB / 479.9 MB, free: 1.879 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001165/0.122, allocations: 140.6 kB / 480 MB, free: 1.742 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.122, allocations: 0 / 480 MB, free: 1.742 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004457/0.1225, allocations: 88 kB / 480.1 MB, free: 1.656 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001035/0.1226, allocations: 103.2 kB / 480.2 MB, free: 1.547 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006555/0.1233, allocations: 425.2 kB / 480.6 MB, free: 1.121 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1233, allocations: 0.8125 kB / 480.6 MB, free: 1.121 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003895/0.1237, allocations: 290.4 kB / 480.9 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.124, allocations: 31.98 kB / 481 MB, free: 0.793 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008987/0.1249, allocations: 0.7134 MB / 481.7 MB, free: 44 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/0.1253, allocations: 0.8026 MB / 482.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001418/0.1254, allocations: 53.91 kB / 482.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.98e-05/0.1255, allocations: 23.44 kB / 482.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1255, allocations: 0 / 482.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of Templates: time 0.005319/0.1308, allocations: 2.717 MB / 485.3 MB, free: 12.43 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.makefile Environment - environmentSimulation: (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.InductiveLoadTest.mat","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches