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.0009332/0.0009333, allocations: 95.55 kB / 16.3 MB, free: 5.996 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.001015/0.001016, allocations: 184.6 kB / 17.2 MB, free: 5.914 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.272/1.272, 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.1619/0.1619, allocations: 38.09 MB / 330.3 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002868/0.0002868, allocations: 13.81 kB / 400 MB, free: 34.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.108, allocations: 59.16 MB / 459.1 MB, free: 7.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.004167/0.1122, allocations: 3.842 MB / 463 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.1136, allocations: 0.9473 MB / 463.9 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001653/0.1138, allocations: 19.88 kB / 463.9 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001291/0.114, allocations: 39.69 kB / 464 MB, free: 2.578 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003918/0.1144, allocations: 163.4 kB / 464.1 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002212/0.1146, allocations: 91.81 kB / 464.2 MB, free: 2.328 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000286/0.1149, allocations: 219.5 kB / 464.4 MB, free: 2.113 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001874/0.1151, allocations: 81.11 kB / 464.5 MB, free: 2.035 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002068/0.1153, allocations: 139.5 kB / 464.7 MB, free: 1.898 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002517/0.1156, allocations: 131.5 kB / 464.8 MB, free: 1.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.613e-05/0.1156, allocations: 8 kB / 464.8 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.376e-05/0.1156, allocations: 12 kB / 464.8 MB, free: 1.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.566e-05/0.1157, allocations: 67.75 kB / 464.9 MB, free: 1.684 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.452e-05/0.1158, allocations: 77.56 kB / 465 MB, free: 1.602 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001925/0.116, allocations: 211.4 kB / 465.2 MB, free: 1.395 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.116, allocations: 0 / 465.2 MB, free: 1.395 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.116, allocations: 0 / 465.2 MB, free: 1.395 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.116, allocations: 0 / 465.2 MB, free: 1.395 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.0009429/0.117, allocations: 0.5503 MB / 465.7 MB, free: 0.793 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.117, allocations: 8.031 kB / 465.7 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.288e-05/0.1171, allocations: 31.62 kB / 465.7 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004959/0.1176, allocations: 321.8 kB / 466.1 MB, free: 408 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.1176, allocations: 16.44 kB / 466.1 MB, free: 392 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/0.1177, allocations: 32 kB / 466.1 MB, free: 360 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003693/0.1181, allocations: 286 kB / 466.4 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.1181, allocations: 7.938 kB / 466.4 MB, free: 36 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/0.1182, allocations: 8 kB / 466.4 MB, free: 28 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.1182, allocations: 11.98 kB / 466.4 MB, free: 16 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003011/0.1185, allocations: 183.8 kB / 466.6 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001392/0.1199, allocations: 1.284 MB / 467.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002587/0.1202, allocations: 123.8 kB / 468 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.1202, allocations: 8 kB / 468 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.1202, allocations: 30.56 kB / 468 MB, free: 14.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.1202, allocations: 0 / 468 MB, free: 14.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008279/0.1211, allocations: 0.535 MB / 468.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.742e-05/0.1211, allocations: 106.8 kB / 468.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/0.1213, allocations: 238.7 kB / 468.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.1214, allocations: 29.7 kB / 468.9 MB, free: 13.26 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.1215, allocations: 195.6 kB / 469.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.1215, allocations: 39.7 kB / 469.2 MB, free: 13.03 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.887e-06/0.1215, allocations: 8 kB / 469.2 MB, free: 13.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.1217, allocations: 338.8 kB / 469.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.671e-05/0.1217, allocations: 35.98 kB / 469.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.1219, allocations: 138.1 kB / 469.7 MB, free: 12.47 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.775e-05/0.122, allocations: 63.92 kB / 469.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.122, allocations: 0 / 469.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003696/0.1224, allocations: 233.8 kB / 470 MB, free: 12.17 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.1224, allocations: 4.406 kB / 470 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1224, allocations: 8 kB / 470 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001298/0.1225, allocations: 28.94 kB / 470 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003263/0.1229, allocations: 71.81 kB / 470.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.1229, allocations: 4 kB / 470.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.123, allocations: 11.98 kB / 470.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.123, allocations: 8 kB / 470.1 MB, free: 12.03 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001385/0.1232, allocations: 153.7 kB / 470.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.466e-05/0.1233, allocations: 23.72 kB / 470.3 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002541/0.1235, allocations: 155.2 kB / 470.4 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.1235, allocations: 4 kB / 470.4 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1235, allocations: 0 / 470.4 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.1235, allocations: 0 / 470.4 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003475/0.1239, allocations: 289.4 kB / 470.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.1239, allocations: 3.984 kB / 470.7 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001603/0.1241, allocations: 27.98 kB / 470.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.1241, allocations: 8 kB / 470.8 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.1241, allocations: 4 kB / 470.8 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.1241, allocations: 0 / 470.8 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.1241, allocations: 4 kB / 470.8 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003572/0.1245, allocations: 402.6 kB / 471.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.976e-05/0.1246, allocations: 96.8 kB / 471.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.228e-05/0.1246, allocations: 4 kB / 471.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.1247, allocations: 4 kB / 471.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.647e-05/0.1248, allocations: 11.94 kB / 471.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.295e-06/0.1248, allocations: 4 kB / 471.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000142/0.1249, allocations: 174 kB / 471.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1249, allocations: 0 / 471.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003284/0.1253, allocations: 48 kB / 471.5 MB, free: 10.53 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 (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.0001069/0.1254, allocations: 103.2 kB / 471.6 MB, free: 10.42 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003976/0.1258, allocations: 209.8 kB / 471.8 MB, free: 10.19 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1258, allocations: 0 / 471.8 MB, free: 10.19 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.496e-05/0.1259, allocations: 60.78 kB / 471.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.1263, allocations: 48.59 kB / 471.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.1273, allocations: 0.7645 MB / 472.7 MB, free: 9.281 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004404/0.1278, allocations: 0.7796 MB / 473.4 MB, free: 8.473 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001058/0.1279, allocations: 30.28 kB / 473.5 MB, free: 8.445 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.375e-05/0.1279, allocations: 23.42 kB / 473.5 MB, free: 8.422 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1279, allocations: 0 / 473.5 MB, free: 8.422 MB / 350.1 MB Notification: Performance of Templates: time 0.005675/0.1336, allocations: 2.059 MB / 475.6 MB, free: 6.387 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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","../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches