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.00105/0.00105, allocations: 115 kB / 16.62 MB, free: 6.793 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.001039/0.001039, allocations: 189.8 kB / 17.55 MB, free: 5.918 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.328/1.328, allocations: 222.9 MB / 241.2 MB, free: 15.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1804/0.1804, allocations: 38.03 MB / 329.4 MB, free: 9.082 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 65.67 kB / 398.3 MB, free: 34.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09791/0.09921, allocations: 58.06 MB / 456.4 MB, free: 8.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.008328/0.1076, allocations: 7.377 MB / 463.7 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003109/0.1107, allocations: 1.761 MB / 465.5 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004121/0.1112, allocations: 43.69 kB / 465.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005175/0.1117, allocations: 123.2 kB / 465.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007982/0.1125, allocations: 394.3 kB / 466 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004181/0.113, allocations: 183.8 kB / 466.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001131/0.1141, allocations: 1.122 MB / 467.3 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005097/0.1146, allocations: 348.6 kB / 467.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007793/0.1154, allocations: 482.1 kB / 468.2 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008376/0.1163, allocations: 0.5763 MB / 468.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.515e-05/0.1164, allocations: 64 kB / 468.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001854/0.1166, allocations: 68 kB / 468.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000324/0.1169, allocations: 315.2 kB / 469.2 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003732/0.1173, allocations: 378.3 kB / 469.5 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008194/0.1181, allocations: 0.8644 MB / 470.4 MB, free: 10.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1181, allocations: 0 / 470.4 MB, free: 10.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1182, allocations: 0 / 470.4 MB, free: 10.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.1182, allocations: 0 / 470.4 MB, free: 10.35 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.001902/0.1201, allocations: 1.023 MB / 471.4 MB, free: 9.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.1201, allocations: 8.031 kB / 471.4 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/0.1203, allocations: 76 kB / 471.5 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009226/0.1212, allocations: 0.5535 MB / 472.1 MB, free: 8.594 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000177/0.1214, allocations: 120.8 kB / 472.2 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.771e-05/0.1215, allocations: 55.98 kB / 472.2 MB, free: 8.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001295/0.1228, allocations: 0.781 MB / 473 MB, free: 7.594 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.1229, allocations: 0 / 473 MB, free: 7.594 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.745e-05/0.1229, allocations: 24 kB / 473 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001155/0.1231, allocations: 36.97 kB / 473.1 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001316/0.1244, allocations: 0.6947 MB / 473.8 MB, free: 6.836 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.003989/0.1284, allocations: 2.712 MB / 476.5 MB, free: 4.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001701/0.1301, allocations: 0.8809 MB / 477.4 MB, free: 3.086 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005623/0.1307, allocations: 329.3 kB / 477.7 MB, free: 2.758 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.555e-05/0.1307, allocations: 4 kB / 477.7 MB, free: 2.754 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.1308, allocations: 42.55 kB / 477.7 MB, free: 2.703 MB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 2.144e-06/0.1308, allocations: 0 / 477.7 MB, free: 2.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=39): time 0.003699/0.1345, allocations: 1.929 MB / 479.7 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.1345, allocations: 88.98 kB / 479.7 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004359/0.135, allocations: 425.9 kB / 480.2 MB, free: 132 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.765e-05/0.135, allocations: 33.7 kB / 480.2 MB, free: 92 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000224/0.1353, allocations: 316.3 kB / 480.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.1354, allocations: 137.9 kB / 480.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.1355, allocations: 86.19 kB / 480.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.1357, allocations: 366.8 kB / 481.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004754/0.1362, allocations: 233 kB / 481.3 MB, free: 14.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005359/0.1367, allocations: 350.3 kB / 481.6 MB, free: 14.56 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009918/0.1377, allocations: 0.5744 MB / 482.2 MB, free: 13.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.1377, allocations: 4 kB / 482.2 MB, free: 13.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001416/0.1391, allocations: 0.7957 MB / 483 MB, free: 13.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.1392, allocations: 4 kB / 483 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.1392, allocations: 4 kB / 483 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002659/0.1395, allocations: 73.89 kB / 483.1 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001434/0.1409, allocations: 291.5 kB / 483.4 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005861/0.1468, allocations: 6.505 MB / 489.9 MB, free: 5.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000488/0.1473, allocations: 39.95 kB / 489.9 MB, free: 5.641 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.079e-05/0.1473, allocations: 20.09 kB / 489.9 MB, free: 5.621 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.0004147/0.1478, allocations: 252.3 kB / 490.2 MB, free: 5.367 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.541e-05/0.1479, allocations: 43.44 kB / 490.2 MB, free: 5.324 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001371/0.1492, allocations: 0.7373 MB / 491 MB, free: 4.559 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.1493, allocations: 4 kB / 491 MB, free: 4.555 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.1493, allocations: 8 kB / 491 MB, free: 4.547 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.1493, allocations: 0 / 491 MB, free: 4.547 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002571/0.1519, allocations: 1.494 MB / 492.5 MB, free: 2.961 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.1519, allocations: 4 kB / 492.5 MB, free: 2.957 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001516/0.1534, allocations: 299.6 kB / 492.8 MB, free: 2.664 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002714/0.1537, allocations: 89.56 kB / 492.9 MB, free: 2.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.752e-05/0.1537, allocations: 12 kB / 492.9 MB, free: 2.559 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002486/0.1562, allocations: 3.161 MB / 496 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.251e-05/0.1562, allocations: 0 / 496 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001818/0.1581, allocations: 1.125 MB / 497.2 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/0.1582, allocations: 120.5 kB / 497.3 MB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.898e-05/0.1583, allocations: 8 kB / 497.3 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003287/0.1586, allocations: 36 kB / 497.3 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/0.1588, allocations: 35.89 kB / 497.4 MB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.122e-05/0.1588, allocations: 15.98 kB / 497.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003295/0.1591, allocations: 291.1 kB / 497.7 MB, free: 13.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1592, allocations: 8 kB / 497.7 MB, free: 13.42 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006861/0.1599, allocations: 136 kB / 497.8 MB, free: 13.29 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.0001597/0.16, allocations: 111.2 kB / 497.9 MB, free: 13.17 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00263/0.1627, allocations: 1.051 MB / 499 MB, free: 12.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.1627, allocations: 0 / 499 MB, free: 12.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001852/0.1645, allocations: 0.7361 MB / 499.7 MB, free: 11.33 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007939/0.1653, allocations: 143.2 kB / 499.8 MB, free: 11.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002395/0.1677, allocations: 1.65 MB / 0.4897 GB, free: 9.512 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005291/0.1683, allocations: 0.9526 MB / 0.4907 GB, free: 8.535 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000324/0.1686, allocations: 96.55 kB / 0.4908 GB, free: 8.438 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.1688, allocations: 39.44 kB / 0.4908 GB, free: 8.402 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1688, allocations: 0 / 0.4908 GB, free: 8.402 MB / 382.1 MB Notification: Performance of Templates: time 0.0134/0.1822, allocations: 7.61 MB / 0.4982 GB, free: 0.8672 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