Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.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.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001768/0.001768, allocations: 110.4 kB / 16.51 MB, free: 6.707 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.001727/0.001728, allocations: 190.6 kB / 17.43 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.566/1.566, allocations: 222.9 MB / 241.1 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1707/0.1707, allocations: 38.04 MB / 329.3 MB, free: 9.09 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 59.7 kB / 398.1 MB, free: 34.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1173, allocations: 58.06 MB / 456.2 MB, free: 8.555 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.009413/0.1268, allocations: 7.385 MB / 463.5 MB, free: 1.129 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004369/0.1312, allocations: 1.753 MB / 465.3 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001306/0.1325, allocations: 47.69 kB / 465.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008725/0.1334, allocations: 127.2 kB / 465.5 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001346/0.1349, allocations: 410.2 kB / 465.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006575/0.1356, allocations: 183.8 kB / 466 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002286/0.1379, allocations: 1.675 MB / 467.7 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006493/0.1385, allocations: 287 kB / 468 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001124/0.1397, allocations: 406.2 kB / 468.4 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001141/0.1408, allocations: 0.5491 MB / 469 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001531/0.141, allocations: 40 kB / 469 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002272/0.1412, allocations: 44 kB / 469 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003877/0.1416, allocations: 295.2 kB / 469.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007002/0.1424, allocations: 342.3 kB / 469.7 MB, free: 11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001006/0.1434, allocations: 0.8448 MB / 470.5 MB, free: 10.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.1434, allocations: 0 / 470.5 MB, free: 10.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1434, allocations: 0 / 470.5 MB, free: 10.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.379e-05/0.1434, allocations: 0 / 470.5 MB, free: 10.15 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002698/0.1461, allocations: 1.027 MB / 471.5 MB, free: 9.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.1462, allocations: 8.031 kB / 471.5 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002184/0.1464, allocations: 80 kB / 471.6 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.1475, allocations: 0.5535 MB / 472.2 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001783/0.1477, allocations: 124.8 kB / 472.3 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.1478, allocations: 56 kB / 472.3 MB, free: 8.203 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001456/0.1493, allocations: 0.7772 MB / 473.1 MB, free: 7.391 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.1493, allocations: 3.938 kB / 473.1 MB, free: 7.387 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.161e-05/0.1494, allocations: 32 kB / 473.2 MB, free: 7.355 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001183/0.1495, allocations: 32.97 kB / 473.2 MB, free: 7.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001439/0.1509, allocations: 0.6908 MB / 473.9 MB, free: 6.629 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004386/0.1553, allocations: 2.704 MB / 476.6 MB, free: 3.816 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001777/0.1571, allocations: 0.8787 MB / 477.5 MB, free: 2.883 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006186/0.1577, allocations: 336.2 kB / 477.8 MB, free: 2.551 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.245e-05/0.1578, allocations: 4 kB / 477.8 MB, free: 2.547 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.1578, allocations: 34.56 kB / 477.8 MB, free: 2.504 MB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 1.763e-06/0.1578, allocations: 0 / 477.8 MB, free: 2.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=39): time 0.003805/0.1616, allocations: 1.941 MB / 479.8 MB, free: 456 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.1617, allocations: 85.05 kB / 479.9 MB, free: 352 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004487/0.1622, allocations: 417.9 kB / 480.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.722e-05/0.1622, allocations: 33.7 kB / 480.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002178/0.1624, allocations: 316.2 kB / 480.6 MB, free: 15.58 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.1626, allocations: 138 kB / 480.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000145/0.1627, allocations: 82.25 kB / 480.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.1629, allocations: 366.8 kB / 481.2 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004801/0.1634, allocations: 233 kB / 481.4 MB, free: 14.76 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005433/0.1639, allocations: 362.1 kB / 481.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.1649, allocations: 0.5744 MB / 482.3 MB, free: 13.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.165, allocations: 0 / 482.3 MB, free: 13.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001478/0.1664, allocations: 0.7957 MB / 483.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.1665, allocations: 8 kB / 483.1 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.1665, allocations: 4 kB / 483.1 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003003/0.1668, allocations: 73.66 kB / 483.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/0.1682, allocations: 291.8 kB / 483.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005966/0.1742, allocations: 6.01 MB / 489.5 MB, free: 5.996 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004127/0.1746, allocations: 40.02 kB / 489.5 MB, free: 5.957 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.305e-05/0.1747, allocations: 19.94 kB / 489.6 MB, free: 5.938 MB / 366.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 (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003264/0.175, allocations: 249.6 kB / 489.8 MB, free: 5.684 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.569e-05/0.1751, allocations: 43.44 kB / 489.8 MB, free: 5.641 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001385/0.1765, allocations: 0.7296 MB / 490.6 MB, free: 4.883 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.1765, allocations: 4 kB / 490.6 MB, free: 4.879 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.1765, allocations: 4 kB / 490.6 MB, free: 4.875 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.1765, allocations: 4 kB / 490.6 MB, free: 4.871 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002523/0.179, allocations: 1.494 MB / 492.1 MB, free: 3.285 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.1791, allocations: 4 kB / 492.1 MB, free: 3.281 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001482/0.1806, allocations: 303.6 kB / 492.4 MB, free: 2.984 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002825/0.1809, allocations: 85.62 kB / 492.5 MB, free: 2.895 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.963e-05/0.1809, allocations: 8 kB / 492.5 MB, free: 2.887 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002268/0.1832, allocations: 2.887 MB / 495.4 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.1832, allocations: 7.969 kB / 495.4 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001846/0.1851, allocations: 1.11 MB / 496.5 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/0.1852, allocations: 128.4 kB / 496.6 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.661e-05/0.1853, allocations: 8 kB / 496.6 MB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003649/0.1857, allocations: 47.89 kB / 496.7 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.1858, allocations: 31.95 kB / 496.7 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.061e-05/0.1858, allocations: 15.92 kB / 496.7 MB, free: 14.31 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003275/0.1862, allocations: 299.1 kB / 497 MB, free: 14.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1862, allocations: 0 / 497 MB, free: 14.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006289/0.1868, allocations: 136 kB / 497.1 MB, free: 13.89 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * 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 (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001418/0.187, allocations: 112.3 kB / 497.2 MB, free: 13.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002533/0.1895, allocations: 0.981 MB / 498.2 MB, free: 12.76 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1895, allocations: 0 / 498.2 MB, free: 12.76 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001913/0.1914, allocations: 0.7285 MB / 499 MB, free: 12.01 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008491/0.1923, allocations: 137.8 kB / 499.1 MB, free: 11.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002544/0.1949, allocations: 1.659 MB / 0.489 GB, free: 10.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006755/0.1956, allocations: 0.9445 MB / 0.4899 GB, free: 9.215 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003091/0.1959, allocations: 96.55 kB / 0.49 GB, free: 9.121 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.196, allocations: 39.44 kB / 0.4901 GB, free: 9.086 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.196, allocations: 4 kB / 0.4901 GB, free: 9.082 MB / 382.1 MB Notification: Performance of Templates: time 0.01603/0.212, allocations: 7.294 MB / 0.4972 GB, free: 1.859 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches