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.0006985/0.0006988, allocations: 92.42 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.000718/0.000718, allocations: 181.6 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.175/1.175, allocations: 223.3 MB / 241.6 MB, free: 112 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1585/0.1585, allocations: 38.09 MB / 330.8 MB, free: 8.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002804/0.0002804, allocations: 8 kB / 400.7 MB, free: 34.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0824/0.08269, allocations: 59.16 MB / 459.9 MB, free: 7.082 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.003377/0.0861, allocations: 3.31 MB / 463.2 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001561/0.08768, allocations: 1.485 MB / 464.7 MB, free: 2.258 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.08779, allocations: 7.938 kB / 464.7 MB, free: 2.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001267/0.08793, allocations: 31.77 kB / 464.7 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004926/0.08843, allocations: 267.1 kB / 465 MB, free: 1.957 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001933/0.08864, allocations: 103.8 kB / 465.1 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004456/0.08909, allocations: 0.5728 MB / 465.7 MB, free: 1.281 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005144/0.08962, allocations: 322 kB / 466 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.08978, allocations: 119.4 kB / 466.1 MB, free: 0.832 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001887/0.08998, allocations: 151.5 kB / 466.2 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.09001, allocations: 8 kB / 466.2 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004141/0.09043, allocations: 383.1 kB / 466.6 MB, free: 308 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.109e-05/0.09053, allocations: 91.77 kB / 466.7 MB, free: 216 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.232e-05/0.09063, allocations: 125.2 kB / 466.8 MB, free: 84 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003521/0.09099, allocations: 354.8 kB / 467.2 MB, free: 15.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.091, allocations: 0 / 467.2 MB, free: 15.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.09101, allocations: 4 kB / 467.2 MB, free: 15.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.09102, allocations: 0 / 467.2 MB, free: 15.73 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.000498/0.09152, allocations: 470.9 kB / 467.6 MB, free: 15.22 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.95e-05/0.09155, allocations: 12.03 kB / 467.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007547/0.09232, allocations: 96.53 kB / 467.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002322/0.09256, allocations: 254.5 kB / 468 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.09259, allocations: 16.33 kB / 468 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.146e-05/0.09263, allocations: 23.94 kB / 468 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004145/0.09305, allocations: 318.3 kB / 468.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.09308, allocations: 7.906 kB / 468.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.175e-05/0.09311, allocations: 4 kB / 468.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.015e-05/0.09314, allocations: 19.98 kB / 468.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003688/0.09352, allocations: 287.7 kB / 468.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001442/0.09497, allocations: 1.297 MB / 470 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003617/0.09534, allocations: 234.4 kB / 470.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.958e-05/0.09543, allocations: 65.69 kB / 470.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.09547, allocations: 4 kB / 470.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.0955, allocations: 34.5 kB / 470.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.422e-06/0.0955, allocations: 0 / 470.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005074/0.09601, allocations: 292.2 kB / 470.6 MB, free: 12.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.09607, allocations: 77.11 kB / 470.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.09622, allocations: 198.3 kB / 470.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.09624, allocations: 33.83 kB / 470.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.99e-05/0.09635, allocations: 155.8 kB / 471 MB, free: 11.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.248e-05/0.09639, allocations: 47.3 kB / 471.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/0.09642, allocations: 25.7 kB / 471.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.09653, allocations: 330.8 kB / 471.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.024e-05/0.09661, allocations: 47.97 kB / 471.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.09673, allocations: 145.7 kB / 471.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002164/0.09696, allocations: 220.7 kB / 471.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.09696, allocations: 3.938 kB / 471.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002794/0.09725, allocations: 226 kB / 472 MB, free: 10.44 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.09727, allocations: 10.19 kB / 472.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.09728, allocations: 0 / 472.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.0973, allocations: 8 kB / 472.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.09744, allocations: 43.92 kB / 472.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.09746, allocations: 15.92 kB / 472.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.548e-05/0.09756, allocations: 4 kB / 472.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.09759, allocations: 12 kB / 472.1 MB, free: 10.35 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001198/0.09771, allocations: 162.3 kB / 472.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.503e-05/0.09775, allocations: 15.81 kB / 472.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002252/0.09798, allocations: 151.2 kB / 472.5 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.09799, allocations: 0 / 472.5 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.098, allocations: 0 / 472.5 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.09801, allocations: 7.984 kB / 472.5 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007252/0.09875, allocations: 0.6653 MB / 473.1 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.09876, allocations: 4.062 kB / 473.1 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.298e-05/0.09886, allocations: 35.86 kB / 473.2 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.09887, allocations: 7.938 kB / 473.2 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.09889, allocations: 4 kB / 473.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.0989, allocations: 7.938 kB / 473.2 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.09891, allocations: 4 kB / 473.2 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002643/0.09918, allocations: 339.3 kB / 473.5 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.007e-05/0.09923, allocations: 100.8 kB / 473.6 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.09927, allocations: 8 kB / 473.6 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.09939, allocations: 4 kB / 473.6 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.025e-05/0.09942, allocations: 27.86 kB / 473.7 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.09944, allocations: 8 kB / 473.7 MB, free: 8.625 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.333e-05/0.09954, allocations: 140.3 kB / 473.8 MB, free: 8.488 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.09954, allocations: 0 / 473.8 MB, free: 8.488 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003162/0.09986, allocations: 47.98 kB / 473.9 MB, free: 8.441 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.836e-05/0.09997, allocations: 107.1 kB / 474 MB, free: 8.328 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000215/0.1002, allocations: 139.8 kB / 474.1 MB, free: 8.191 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1002, allocations: 4 kB / 474.1 MB, free: 8.188 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.354e-05/0.1003, allocations: 65.22 kB / 474.2 MB, free: 8.125 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000447/0.1008, allocations: 31.98 kB / 474.2 MB, free: 8.094 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007015/0.1015, allocations: 0.5923 MB / 474.8 MB, free: 7.434 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.1018, allocations: 0.7712 MB / 475.6 MB, free: 6.633 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001187/0.1019, allocations: 45.56 kB / 475.6 MB, free: 6.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.843e-05/0.1019, allocations: 19.38 kB / 475.6 MB, free: 6.574 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1019, allocations: 0 / 475.6 MB, free: 6.574 MB / 350.1 MB Notification: Performance of Templates: time 0.003221/0.1052, allocations: 1.259 MB / 476.9 MB, free: 5.32 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