Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.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.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=7406,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=7406,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 107.2 kB / 16.92 MB, free: 5.77 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.001704/0.001703, allocations: 191.5 kB / 17.85 MB, free: 5.168 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.354/1.354, allocations: 222.9 MB / 241.5 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1705/0.1705, allocations: 38.04 MB / 329.7 MB, free: 8.863 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 65.3 kB / 398.8 MB, free: 34.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1096, allocations: 58.06 MB / 456.9 MB, free: 8.094 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.006203/0.1159, allocations: 4.072 MB / 460.9 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.1174, allocations: 0.8569 MB / 461.8 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001728/0.1176, allocations: 11.94 kB / 461.8 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00022/0.1178, allocations: 43.5 kB / 461.8 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004771/0.1183, allocations: 167.1 kB / 462 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001963/0.1185, allocations: 87.83 kB / 462.1 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004906/0.119, allocations: 406.5 kB / 462.5 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002286/0.1193, allocations: 110.2 kB / 462.6 MB, free: 2.328 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002322/0.1195, allocations: 167.3 kB / 462.8 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003422/0.1199, allocations: 187.2 kB / 462.9 MB, free: 1.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.648e-05/0.1199, allocations: 20 kB / 463 MB, free: 1.961 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.743e-05/0.12, allocations: 20 kB / 463 MB, free: 1.941 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.1201, allocations: 83.73 kB / 463.1 MB, free: 1.859 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001583/0.1203, allocations: 155.2 kB / 463.2 MB, free: 1.707 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003046/0.1206, allocations: 279 kB / 463.5 MB, free: 1.434 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1206, allocations: 0 / 463.5 MB, free: 1.434 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.1206, allocations: 0 / 463.5 MB, free: 1.434 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.1206, allocations: 3.938 kB / 463.5 MB, free: 1.43 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.00097/0.1216, allocations: 0.5933 MB / 464.1 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.1216, allocations: 11.89 kB / 464.1 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.648e-05/0.1217, allocations: 32.56 kB / 464.1 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005291/0.1222, allocations: 322.9 kB / 464.4 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.1223, allocations: 20.81 kB / 464.5 MB, free: 376 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.1224, allocations: 36.03 kB / 464.5 MB, free: 340 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004771/0.1229, allocations: 290 kB / 464.8 MB, free: 20 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.1229, allocations: 4 kB / 464.8 MB, free: 16 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.424e-05/0.1229, allocations: 8 kB / 464.8 MB, free: 8 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.1229, allocations: 8 kB / 464.8 MB, free: 0 / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003254/0.1233, allocations: 179.8 kB / 465 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001506/0.1248, allocations: 1.288 MB / 466.3 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002952/0.1251, allocations: 119.8 kB / 466.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.615e-05/0.1252, allocations: 46.62 kB / 466.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.1252, allocations: 8 kB / 466.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.1252, allocations: 38.5 kB / 466.5 MB, free: 14.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/0.1252, allocations: 0 / 466.5 MB, free: 14.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008927/0.1261, allocations: 0.5196 MB / 467 MB, free: 13.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.461e-05/0.1262, allocations: 110.8 kB / 467.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/0.1265, allocations: 238.6 kB / 467.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.1265, allocations: 29.7 kB / 467.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.1266, allocations: 207.5 kB / 467.6 MB, free: 12.99 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.771e-05/0.1267, allocations: 35.45 kB / 467.6 MB, free: 12.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.737e-05/0.1267, allocations: 41.7 kB / 467.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1269, allocations: 338.8 kB / 468 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.65e-05/0.127, allocations: 39.98 kB / 468 MB, free: 12.53 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001443/0.1271, allocations: 138.6 kB / 468.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002311/0.1274, allocations: 187.8 kB / 468.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1274, allocations: 0 / 468.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003766/0.1277, allocations: 233.9 kB / 468.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.1278, allocations: 10.03 kB / 468.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.1278, allocations: 4 kB / 468.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001231/0.1279, allocations: 28.78 kB / 468.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003094/0.1282, allocations: 67.81 kB / 468.7 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.619e-05/0.1283, allocations: 4.375 kB / 468.7 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.1284, allocations: 12 kB / 468.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.1284, allocations: 8 kB / 468.7 MB, free: 11.76 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001477/0.1286, allocations: 157.7 kB / 468.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.72e-05/0.1286, allocations: 19.72 kB / 468.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002621/0.1289, allocations: 147.3 kB / 469 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.1289, allocations: 3.938 kB / 469 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.1289, allocations: 8 kB / 469 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.1289, allocations: 0 / 469 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003602/0.1293, allocations: 281.5 kB / 469.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1293, allocations: 0 / 469.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/0.1295, allocations: 31.98 kB / 469.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.1295, allocations: 3.984 kB / 469.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.1295, allocations: 4.094 kB / 469.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.1295, allocations: 11.81 kB / 469.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1295, allocations: 0 / 469.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003922/0.1299, allocations: 369.3 kB / 469.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.019e-05/0.13, allocations: 96.86 kB / 469.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.34e-05/0.13, allocations: 3.984 kB / 469.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.1302, allocations: 11.94 kB / 469.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.61e-05/0.1302, allocations: 4 kB / 469.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.1302, allocations: 11.98 kB / 469.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002031/0.1305, allocations: 174 kB / 470 MB, free: 10.35 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1305, allocations: 0 / 470 MB, free: 10.35 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003357/0.1308, allocations: 48 kB / 470.1 MB, free: 10.3 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pLoadDC.i,pLoadDC.L) * 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 (14): * Single equations (assignments): 13 * 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.0001131/0.1309, allocations: 99.19 kB / 470.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003586/0.1313, allocations: 214.5 kB / 470.4 MB, free: 9.965 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1313, allocations: 4 kB / 470.4 MB, free: 9.961 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.311e-05/0.1314, allocations: 51.98 kB / 470.4 MB, free: 9.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005056/0.1319, allocations: 48 kB / 470.5 MB, free: 9.867 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.133, allocations: 0.6042 MB / 471.1 MB, free: 9.223 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004547/0.1335, allocations: 0.7751 MB / 471.8 MB, free: 8.422 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001752/0.1336, allocations: 26.28 kB / 471.9 MB, free: 8.398 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.294e-05/0.1337, allocations: 23.44 kB / 471.9 MB, free: 8.375 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1337, allocations: 0 / 471.9 MB, free: 8.375 MB / 350.1 MB Notification: Performance of Templates: time 0.005377/0.1391, allocations: 2.199 MB / 474.1 MB, free: 6.199 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches