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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001163/0.001163, allocations: 176.4 kB / 17.4 MB, free: 4.301 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.35/1.35, allocations: 205.4 MB / 223.5 MB, free: 8.926 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007795/0.0007795, allocations: 95.16 kB / 271.9 MB, free: 8.223 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1886/0.1886, allocations: 38.07 MB / 358.2 MB, free: 1.707 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003222/0.0003222, allocations: 12 kB / 425.2 MB, free: 37.35 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2592, allocations: 56.31 MB / 481.6 MB, free: 9.59 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1335/0.3927, allocations: 100.3 MB / 0.5682 GB, free: 1.934 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/0.393, allocations: 99.81 kB / 0.5683 GB, free: 1.84 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03929/0.4323, allocations: 14.07 MB / 0.5821 GB, free: 3.625 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4324, allocations: 0 / 0.5821 GB, free: 3.625 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.454e-05/0.4324, allocations: 12 kB / 0.5821 GB, free: 3.613 MB / 410.7 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.002027/0.4345, allocations: 0.962 MB / 0.583 GB, free: 2.598 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.4345, allocations: 8.031 kB / 0.583 GB, free: 2.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002169/0.4347, allocations: 76.09 kB / 0.5831 GB, free: 2.516 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001599/0.4363, allocations: 0.7835 MB / 0.5839 GB, free: 1.691 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001723/0.4365, allocations: 125.3 kB / 0.584 GB, free: 1.559 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.4366, allocations: 56.73 kB / 0.584 GB, free: 1.504 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001378/0.438, allocations: 0.7944 MB / 0.5848 GB, free: 0.668 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.4381, allocations: 8 kB / 0.5848 GB, free: 0.6602 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.24e-05/0.4381, allocations: 20 kB / 0.5848 GB, free: 0.6406 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/0.4382, allocations: 15.94 kB / 0.5849 GB, free: 0.625 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001359/0.4395, allocations: 0.7064 MB / 0.5855 GB, free: 15.92 MB / 426.7 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.004016/0.4436, allocations: 2.728 MB / 0.5882 GB, free: 13.09 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001643/0.4452, allocations: 0.9169 MB / 0.5891 GB, free: 12.12 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005401/0.4458, allocations: 333.6 kB / 0.5894 GB, free: 11.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.703e-05/0.4458, allocations: 4 kB / 0.5894 GB, free: 11.78 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.4458, allocations: 42.5 kB / 0.5895 GB, free: 11.73 MB / 426.7 MB Notification: Performance of pre-optimization done (n=38): time 2.545e-06/0.4459, allocations: 0 / 0.5895 GB, free: 11.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.003538/0.4494, allocations: 1.987 MB / 0.5914 GB, free: 9.625 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.4495, allocations: 81.11 kB / 0.5915 GB, free: 9.527 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005618/0.45, allocations: 433.8 kB / 0.5919 GB, free: 9.094 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.393e-05/0.4501, allocations: 29.7 kB / 0.5919 GB, free: 9.059 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.4503, allocations: 316.3 kB / 0.5922 GB, free: 8.742 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.4504, allocations: 141.9 kB / 0.5924 GB, free: 8.602 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.223e-05/0.4504, allocations: 8 kB / 0.5924 GB, free: 8.594 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.4506, allocations: 366.7 kB / 0.5927 GB, free: 8.227 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004696/0.451, allocations: 248.9 kB / 0.593 GB, free: 7.984 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005218/0.4516, allocations: 362.3 kB / 0.5933 GB, free: 7.586 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009916/0.4526, allocations: 0.5905 MB / 0.5939 GB, free: 6.949 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4526, allocations: 0 / 0.5939 GB, free: 6.949 MB / 426.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001404/0.454, allocations: 0.7986 MB / 0.5947 GB, free: 6.121 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.454, allocations: 8.25 kB / 0.5947 GB, free: 6.113 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.4541, allocations: 4 kB / 0.5947 GB, free: 6.109 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002634/0.4543, allocations: 69.62 kB / 0.5947 GB, free: 6.035 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/0.4557, allocations: 379.5 kB / 0.5951 GB, free: 5.664 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005275/0.461, allocations: 6.104 MB / 0.6011 GB, free: 15.03 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004101/0.4615, allocations: 47.95 kB / 0.6011 GB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.185e-05/0.4615, allocations: 16.09 kB / 0.6011 GB, free: 14.97 MB / 442.7 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 (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003553/0.4619, allocations: 253.4 kB / 0.6014 GB, free: 14.71 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.462, allocations: 51.44 kB / 0.6014 GB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001293/0.4633, allocations: 0.7426 MB / 0.6021 GB, free: 13.88 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.4633, allocations: 4 kB / 0.6021 GB, free: 13.88 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.4633, allocations: 0 / 0.6021 GB, free: 13.88 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.4633, allocations: 7.922 kB / 0.6021 GB, free: 13.87 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00246/0.4658, allocations: 1.519 MB / 0.6036 GB, free: 12.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.4658, allocations: 0 / 0.6036 GB, free: 12.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001552/0.4674, allocations: 403.6 kB / 0.604 GB, free: 11.87 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001867/0.4676, allocations: 61.67 kB / 0.6041 GB, free: 11.8 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.672e-05/0.4676, allocations: 15.98 kB / 0.6041 GB, free: 11.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001998/0.4696, allocations: 2.84 MB / 0.6069 GB, free: 8.68 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.4696, allocations: 0 / 0.6069 GB, free: 8.68 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001886/0.4715, allocations: 1.148 MB / 0.608 GB, free: 7.477 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000151/0.4717, allocations: 120.5 kB / 0.6081 GB, free: 7.34 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.022e-05/0.4718, allocations: 16.03 kB / 0.6081 GB, free: 7.324 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003145/0.4721, allocations: 43.91 kB / 0.6082 GB, free: 7.281 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.4722, allocations: 39.88 kB / 0.6082 GB, free: 7.242 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-05/0.4723, allocations: 16 kB / 0.6082 GB, free: 7.227 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003617/0.4726, allocations: 291.1 kB / 0.6085 GB, free: 6.945 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4726, allocations: 0 / 0.6085 GB, free: 6.945 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006726/0.4733, allocations: 144 kB / 0.6086 GB, free: 6.805 MB / 442.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002191/0.4735, allocations: 123.1 kB / 0.6087 GB, free: 6.676 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002573/0.4761, allocations: 1.095 MB / 0.6098 GB, free: 5.555 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4762, allocations: 384 / 0.6098 GB, free: 5.555 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001839/0.478, allocations: 0.8248 MB / 0.6106 GB, free: 4.703 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007736/0.4788, allocations: 134.4 kB / 0.6107 GB, free: 4.574 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002578/0.4814, allocations: 1.72 MB / 0.6124 GB, free: 2.82 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005674/0.482, allocations: 0.9523 MB / 0.6134 GB, free: 1.844 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003484/0.4823, allocations: 100.5 kB / 0.6135 GB, free: 1.742 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.4824, allocations: 35.44 kB / 0.6135 GB, free: 1.707 MB / 442.7 MB Notification: Performance of SimCode: time 2.91e-07/0.4824, allocations: 0 / 0.6135 GB, free: 1.707 MB / 442.7 MB Notification: Performance of Templates: time 0.01352/0.496, allocations: 7.132 MB / 0.6204 GB, free: 10.59 MB / 458.7 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches