Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.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.AdmittanceTest,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.AdmittanceTest") translateModel(PowerSystems.Examples.Generic.Test.AdmittanceTest,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.AdmittanceTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008422/0.0008423, allocations: 92.53 kB / 16.3 MB, free: 5.523 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.0008104/0.0008105, allocations: 184.9 kB / 17.2 MB, free: 5.457 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.248/1.248, allocations: 223.2 MB / 241.1 MB, free: 14.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1664/0.1664, allocations: 38.07 MB / 330.3 MB, free: 8.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000319/0.0003191, allocations: 8 kB / 400 MB, free: 34.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09623/0.09657, allocations: 59.16 MB / 459.1 MB, free: 7.465 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.003644/0.1002, allocations: 3.097 MB / 462.2 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001822/0.1021, allocations: 1.373 MB / 463.6 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001617/0.1023, allocations: 11.94 kB / 463.6 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001331/0.1024, allocations: 31.77 kB / 463.6 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005179/0.103, allocations: 171.4 kB / 463.8 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002464/0.1032, allocations: 91.8 kB / 463.9 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002459/0.1035, allocations: 159.6 kB / 464.1 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005403/0.104, allocations: 307 kB / 464.4 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001966/0.1042, allocations: 103.6 kB / 464.5 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.1044, allocations: 83.69 kB / 464.5 MB, free: 2.008 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.1044, allocations: 8 kB / 464.5 MB, free: 2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003055/0.1047, allocations: 151.7 kB / 464.7 MB, free: 1.852 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.202e-05/0.1048, allocations: 91.77 kB / 464.8 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.072e-05/0.1049, allocations: 65.58 kB / 464.8 MB, free: 1.691 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002948/0.1052, allocations: 243.4 kB / 465.1 MB, free: 1.453 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.1052, allocations: 0 / 465.1 MB, free: 1.453 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1052, allocations: 0 / 465.1 MB, free: 1.453 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.94e-06/0.1052, allocations: 0 / 465.1 MB, free: 1.453 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.0005571/0.1058, allocations: 482.6 kB / 465.6 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.1058, allocations: 12.03 kB / 465.6 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008349/0.1067, allocations: 95.61 kB / 465.7 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003018/0.107, allocations: 259.1 kB / 465.9 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.107, allocations: 19.91 kB / 465.9 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.183e-05/0.1071, allocations: 16 kB / 465.9 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004186/0.1075, allocations: 318.3 kB / 466.3 MB, free: 168 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.1075, allocations: 0 / 466.3 MB, free: 168 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.197e-05/0.1075, allocations: 4 kB / 466.3 MB, free: 164 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.153e-05/0.1076, allocations: 19.98 kB / 466.3 MB, free: 144 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004072/0.108, allocations: 287.7 kB / 466.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001526/0.1095, allocations: 1.293 MB / 467.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003781/0.1099, allocations: 246.2 kB / 468.1 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.1099, allocations: 0 / 468.1 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.11, allocations: 42.61 kB / 468.1 MB, free: 14.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.11, allocations: 0 / 468.1 MB, free: 14.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.00053/0.1105, allocations: 276.4 kB / 468.4 MB, free: 13.86 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.1106, allocations: 85.05 kB / 468.5 MB, free: 13.76 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.1107, allocations: 190.3 kB / 468.7 MB, free: 13.56 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.1108, allocations: 33.7 kB / 468.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.1109, allocations: 164 kB / 468.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.337e-05/0.1109, allocations: 51.42 kB / 468.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.636e-06/0.1109, allocations: 7.938 kB / 468.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.1111, allocations: 326.8 kB / 469.2 MB, free: 12.97 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.66e-05/0.1111, allocations: 51.91 kB / 469.3 MB, free: 12.92 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.1113, allocations: 141.7 kB / 469.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.1114, allocations: 75.92 kB / 469.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1114, allocations: 0 / 469.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003133/0.1117, allocations: 221.5 kB / 469.7 MB, free: 12.44 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.1118, allocations: 4 kB / 469.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.1118, allocations: 4 kB / 469.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.1118, allocations: 7.953 kB / 469.7 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.1119, allocations: 51.91 kB / 469.8 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.29e-05/0.112, allocations: 7.938 kB / 469.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.1121, allocations: 11.94 kB / 469.8 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.1121, allocations: 12 kB / 469.8 MB, free: 12.34 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 (25): * Single equations (assignments): 25 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001318/0.1123, allocations: 153.8 kB / 470 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.772e-05/0.1123, allocations: 23.78 kB / 470 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002521/0.1126, allocations: 154.5 kB / 470.1 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.1126, allocations: 4 kB / 470.2 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.1126, allocations: 3.953 kB / 470.2 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.1126, allocations: 0 / 470.2 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008551/0.1135, allocations: 0.6689 MB / 470.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.1135, allocations: 4.438 kB / 470.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.1136, allocations: 31.92 kB / 470.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.1136, allocations: 4 kB / 470.9 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.1136, allocations: 15.98 kB / 470.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.1136, allocations: 7.938 kB / 470.9 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.1136, allocations: 4 kB / 470.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004052/0.1141, allocations: 0.4906 MB / 471.4 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.652e-05/0.1141, allocations: 96.95 kB / 471.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.467e-05/0.1142, allocations: 15.98 kB / 471.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.1143, allocations: 7.953 kB / 471.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.476e-05/0.1143, allocations: 23.92 kB / 471.5 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.1144, allocations: 4 kB / 471.5 MB, free: 10.37 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001108/0.1145, allocations: 148.3 kB / 471.7 MB, free: 10.22 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.1145, allocations: 0 / 471.7 MB, free: 10.22 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003469/0.1148, allocations: 40 kB / 471.7 MB, free: 10.18 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (15): * Single equations (assignments): 14 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001179/0.115, allocations: 111.1 kB / 471.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002545/0.1152, allocations: 131.8 kB / 471.9 MB, free: 9.938 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1152, allocations: 0 / 471.9 MB, free: 9.938 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.379e-05/0.1153, allocations: 65.47 kB / 472 MB, free: 9.875 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.1156, allocations: 44.23 kB / 472.1 MB, free: 9.832 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007181/0.1164, allocations: 0.5684 MB / 472.6 MB, free: 9.195 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.1167, allocations: 0.7637 MB / 473.4 MB, free: 8.406 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001212/0.1168, allocations: 45.5 kB / 473.4 MB, free: 8.363 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.149e-05/0.1169, allocations: 19.44 kB / 473.5 MB, free: 8.348 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1169, allocations: 0 / 473.5 MB, free: 8.348 MB / 350.1 MB Notification: Performance of Templates: time 0.004219/0.1211, allocations: 1.213 MB / 474.7 MB, free: 7.137 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.makefile Environment - environmentSimulation: (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.AdmittanceTest.mat","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches