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: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 102.4 kB / 16.5 MB, free: 6.648 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.001861/0.001861, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.224/1.224, allocations: 222.9 MB / 241.1 MB, free: 13.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.159/0.159, allocations: 38.04 MB / 329.3 MB, free: 8.859 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 62.17 kB / 398.2 MB, free: 34.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09502/0.09622, allocations: 58.07 MB / 456.3 MB, free: 8.391 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.005444/0.1017, allocations: 4.511 MB / 460.8 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001451/0.1032, allocations: 0.9817 MB / 461.8 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000151/0.1033, allocations: 19.88 kB / 461.8 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000158/0.1035, allocations: 35.7 kB / 461.8 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003297/0.1039, allocations: 143.3 kB / 461.9 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001669/0.104, allocations: 71.92 kB / 462 MB, free: 2.598 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004123/0.1045, allocations: 0.518 MB / 462.5 MB, free: 2.078 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.1047, allocations: 97.69 kB / 462.6 MB, free: 1.984 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001967/0.1049, allocations: 159.2 kB / 462.8 MB, free: 1.828 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000308/0.1052, allocations: 183.3 kB / 463 MB, free: 1.648 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.414e-05/0.1052, allocations: 12 kB / 463 MB, free: 1.637 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.565e-05/0.1053, allocations: 16 kB / 463 MB, free: 1.621 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.145e-05/0.1054, allocations: 75.73 kB / 463.1 MB, free: 1.547 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001666/0.1055, allocations: 135.3 kB / 463.2 MB, free: 1.414 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002313/0.1058, allocations: 282.8 kB / 463.5 MB, free: 1.137 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1058, allocations: 0 / 463.5 MB, free: 1.137 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1058, allocations: 4 kB / 463.5 MB, free: 1.133 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1058, allocations: 0 / 463.5 MB, free: 1.133 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.0009832/0.1068, allocations: 0.5894 MB / 464.1 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.1068, allocations: 8.031 kB / 464.1 MB, free: 496 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.813e-05/0.1069, allocations: 58.73 kB / 464.1 MB, free: 428 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.393e-05/0.107, allocations: 32.56 kB / 464.2 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004299/0.1074, allocations: 322.9 kB / 464.5 MB, free: 32 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.1074, allocations: 20.81 kB / 464.5 MB, free: 12 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/0.1076, allocations: 39.91 kB / 464.5 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000476/0.1081, allocations: 290 kB / 464.8 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.1081, allocations: 4 kB / 464.8 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.332e-05/0.1081, allocations: 8 kB / 464.8 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.1081, allocations: 8 kB / 464.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002812/0.1084, allocations: 195.7 kB / 465 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001538/0.1099, allocations: 1.268 MB / 466.3 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002497/0.1102, allocations: 123.8 kB / 466.4 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.674e-05/0.1103, allocations: 42.64 kB / 466.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.1103, allocations: 11.98 kB / 466.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.1103, allocations: 42.48 kB / 466.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.283e-06/0.1104, allocations: 0 / 466.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.000842/0.1112, allocations: 0.5232 MB / 467 MB, free: 13.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.1113, allocations: 106.8 kB / 467.1 MB, free: 13.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/0.1115, allocations: 242.9 kB / 467.4 MB, free: 12.87 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.1115, allocations: 29.7 kB / 467.4 MB, free: 12.83 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.1116, allocations: 203.5 kB / 467.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.1117, allocations: 39.44 kB / 467.6 MB, free: 12.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.019e-05/0.1118, allocations: 45.7 kB / 467.7 MB, free: 12.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.1119, allocations: 330.8 kB / 468 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.166e-05/0.112, allocations: 39.98 kB / 468.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001919/0.1122, allocations: 142.6 kB / 468.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002654/0.1125, allocations: 191.8 kB / 468.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.1125, allocations: 0 / 468.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000372/0.1129, allocations: 234.2 kB / 468.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.1129, allocations: 8 kB / 468.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.1129, allocations: 4 kB / 468.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001093/0.113, allocations: 28.78 kB / 468.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003379/0.1134, allocations: 67.89 kB / 468.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.1134, allocations: 4 kB / 468.7 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.1135, allocations: 4 kB / 468.7 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.1135, allocations: 15.98 kB / 468.7 MB, free: 11.38 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.0001276/0.1136, allocations: 157.7 kB / 468.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.1138, allocations: 19.72 kB / 468.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002365/0.114, allocations: 147.2 kB / 469.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.114, allocations: 3.938 kB / 469.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.114, allocations: 4.094 kB / 469.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.114, allocations: 3.938 kB / 469.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003249/0.1144, allocations: 289.4 kB / 469.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1144, allocations: 0 / 469.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/0.1146, allocations: 31.98 kB / 469.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1146, allocations: 0 / 469.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.1146, allocations: 4 kB / 469.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.1146, allocations: 3.938 kB / 469.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1146, allocations: 0 / 469.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003568/0.115, allocations: 367.3 kB / 469.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.839e-05/0.115, allocations: 100.9 kB / 469.8 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.056e-05/0.1151, allocations: 4 kB / 469.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.1152, allocations: 11.92 kB / 469.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.511e-05/0.1153, allocations: 7.984 kB / 469.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.1153, allocations: 8 kB / 469.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001352/0.1154, allocations: 170 kB / 470 MB, free: 9.977 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1154, allocations: 0 / 470 MB, free: 9.977 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003249/0.1158, allocations: 47.98 kB / 470.1 MB, free: 9.93 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.000672/0.1164, allocations: 0.888 MB / 471 MB, free: 9.012 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003998/0.1168, allocations: 225.4 kB / 471.2 MB, free: 8.773 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1169, allocations: 0 / 471.2 MB, free: 8.773 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.434e-05/0.1169, allocations: 51.91 kB / 471.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004934/0.1174, allocations: 51.62 kB / 471.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00288/0.1203, allocations: 2.721 MB / 474 MB, free: 5.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003805/0.1207, allocations: 0.7677 MB / 474.8 MB, free: 4.977 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001084/0.1208, allocations: 34.28 kB / 474.8 MB, free: 4.945 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.121, allocations: 95.39 kB / 474.9 MB, free: 4.852 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.121, allocations: 0 / 474.9 MB, free: 4.852 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01541/0.1364, allocations: 4.569 MB / 479.5 MB, free: 440 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002116/0.1366, allocations: 222.8 kB / 479.7 MB, free: 180 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.733/1.87, allocations: 0 / 479.7 MB, free: 180 kB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC_res.mat","/var/lib/jenkins1/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