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.0006814/0.0006814, allocations: 89.12 kB / 16.65 MB, free: 6.59 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.0007376/0.0007376, allocations: 181.8 kB / 17.56 MB, free: 6.203 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.174/1.174, allocations: 223.3 MB / 241.6 MB, free: 192 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1568/0.1568, allocations: 38.09 MB / 330.8 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002697/0.0002697, allocations: 9.469 kB / 400.7 MB, free: 34.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08476/0.08505, allocations: 59.16 MB / 459.9 MB, free: 7.074 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.003352/0.08844, allocations: 3.349 MB / 463.2 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001746/0.0902, allocations: 1.528 MB / 464.8 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.965e-05/0.09031, allocations: 11.94 kB / 464.8 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001191/0.09044, allocations: 35.72 kB / 464.8 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004947/0.09094, allocations: 267.1 kB / 465.1 MB, free: 1.859 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002216/0.09117, allocations: 111.7 kB / 465.2 MB, free: 1.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004788/0.09166, allocations: 0.5651 MB / 465.7 MB, free: 1.184 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005434/0.09221, allocations: 326.9 kB / 466.1 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001557/0.09238, allocations: 131.3 kB / 466.2 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001946/0.09259, allocations: 151.5 kB / 466.3 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.09261, allocations: 8 kB / 466.4 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00049/0.09311, allocations: 403 kB / 466.7 MB, free: 168 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.445e-05/0.09321, allocations: 91.75 kB / 466.8 MB, free: 76 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.09335, allocations: 117.2 kB / 466.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003918/0.09375, allocations: 378.8 kB / 467.3 MB, free: 15.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.09376, allocations: 0 / 467.3 MB, free: 15.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.09377, allocations: 4 kB / 467.3 MB, free: 15.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.09378, allocations: 0 / 467.3 MB, free: 15.58 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006172/0.09441, allocations: 490.6 kB / 467.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.09445, allocations: 8.031 kB / 467.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008097/0.09527, allocations: 92.64 kB / 467.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/0.09555, allocations: 259.8 kB / 468.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.09559, allocations: 16.33 kB / 468.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.455e-05/0.09565, allocations: 16.38 kB / 468.2 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004569/0.09611, allocations: 329.7 kB / 468.5 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.09614, allocations: 0 / 468.5 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.76e-05/0.09617, allocations: 11.98 kB / 468.5 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.18e-05/0.09621, allocations: 12 kB / 468.5 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004184/0.09663, allocations: 295.7 kB / 468.8 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001623/0.09826, allocations: 1.279 MB / 470.1 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004235/0.0987, allocations: 229.1 kB / 470.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001532/0.09886, allocations: 105.7 kB / 470.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.09889, allocations: 0 / 470.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.09893, allocations: 38.5 kB / 470.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.002e-06/0.09894, allocations: 0 / 470.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0007638/0.09971, allocations: 443.9 kB / 470.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.09976, allocations: 77.11 kB / 471 MB, free: 11.67 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.09997, allocations: 202.5 kB / 471.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.1, allocations: 29.7 kB / 471.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.1001, allocations: 159.8 kB / 471.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.792e-05/0.1002, allocations: 59.19 kB / 471.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.996e-05/0.1002, allocations: 29.7 kB / 471.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.1003, allocations: 326.8 kB / 471.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.1005, allocations: 83.95 kB / 471.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001729/0.1006, allocations: 162.1 kB / 472 MB, free: 10.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003138/0.101, allocations: 262.6 kB / 472.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.101, allocations: 0 / 472.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004213/0.1014, allocations: 297.3 kB / 472.5 MB, free: 9.992 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.1014, allocations: 11.94 kB / 472.6 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.1014, allocations: 3.938 kB / 472.6 MB, free: 9.977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.1015, allocations: 4 kB / 472.6 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/0.1017, allocations: 51.91 kB / 472.6 MB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.1017, allocations: 7.938 kB / 472.6 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.1018, allocations: 15.98 kB / 472.6 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.248e-05/0.1019, allocations: 8 kB / 472.6 MB, free: 9.891 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.0001975/0.1021, allocations: 161.9 kB / 472.8 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.096e-05/0.1021, allocations: 15.81 kB / 472.8 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003685/0.1025, allocations: 234.1 kB / 473.1 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1025, allocations: 0 / 473.1 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.1025, allocations: 3.984 kB / 473.1 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1025, allocations: 4 kB / 473.1 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001164/0.1037, allocations: 0.9516 MB / 474 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.1037, allocations: 4 kB / 474 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/0.1038, allocations: 35.92 kB / 474 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.1039, allocations: 7.938 kB / 474.1 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.1039, allocations: 11.94 kB / 474.1 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.694e-06/0.1039, allocations: 11.98 kB / 474.1 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.1039, allocations: 7.938 kB / 474.1 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003684/0.1043, allocations: 409.2 kB / 474.5 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.873e-05/0.1043, allocations: 100.9 kB / 474.6 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.267e-05/0.1044, allocations: 15.94 kB / 474.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.1045, allocations: 7.984 kB / 474.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.1046, allocations: 23.86 kB / 474.6 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.1046, allocations: 16 kB / 474.6 MB, free: 7.691 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001119/0.1047, allocations: 151 kB / 474.8 MB, free: 7.543 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1047, allocations: 4 kB / 474.8 MB, free: 7.539 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000324/0.1051, allocations: 52 kB / 474.9 MB, free: 7.488 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.0001051/0.1052, allocations: 103.2 kB / 475 MB, free: 7.379 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003218/0.1055, allocations: 211.6 kB / 475.2 MB, free: 7.172 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1055, allocations: 0.5625 kB / 475.2 MB, free: 7.172 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001209/0.1056, allocations: 99.77 kB / 475.3 MB, free: 7.074 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004662/0.1061, allocations: 51.95 kB / 475.3 MB, free: 7.023 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007598/0.1069, allocations: 0.6733 MB / 476 MB, free: 6.277 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.1072, allocations: 0.7635 MB / 476.7 MB, free: 5.484 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000129/0.1073, allocations: 49.5 kB / 476.8 MB, free: 5.434 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.546e-05/0.1074, allocations: 19.44 kB / 476.8 MB, free: 5.414 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1074, allocations: 0 / 476.8 MB, free: 5.414 MB / 350.1 MB Notification: Performance of Templates: time 0.003769/0.1112, allocations: 1.735 MB / 478.5 MB, free: 3.68 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.FixedCurrentTest.mat","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches