Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.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.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001013/0.001013, allocations: 179.9 kB / 16.38 MB, free: 5.766 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.353/1.353, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.0008244/0.0008243, allocations: 95.8 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1634/0.1634, allocations: 38.05 MB / 357.2 MB, free: 1.879 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002843/0.0002844, allocations: 11.98 kB / 424 MB, free: 37.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2887, allocations: 56.31 MB / 480.3 MB, free: 9.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1458/0.4345, allocations: 110 MB / 0.5765 GB, free: 8.367 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/0.4348, allocations: 99.94 kB / 0.5766 GB, free: 8.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06398/0.4988, allocations: 23.32 MB / 0.5994 GB, free: 0.7109 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.4988, allocations: 0 / 0.5994 GB, free: 0.7109 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.77e-05/0.4989, allocations: 16 kB / 0.5994 GB, free: 0.6953 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002514/0.5014, allocations: 1.252 MB / 0.6006 GB, free: 15.39 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.5015, allocations: 8.031 kB / 0.6006 GB, free: 15.38 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006921/0.5022, allocations: 146.8 kB / 0.6008 GB, free: 15.24 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003148/0.5053, allocations: 1.266 MB / 0.602 GB, free: 13.93 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002175/0.5055, allocations: 187 kB / 0.6022 GB, free: 13.73 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/0.5057, allocations: 80 kB / 0.6023 GB, free: 13.65 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002135/0.5078, allocations: 1.361 MB / 0.6036 GB, free: 12.22 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.598e-05/0.5079, allocations: 11.88 kB / 0.6036 GB, free: 12.21 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.915e-05/0.508, allocations: 32 kB / 0.6036 GB, free: 12.18 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.161e-05/0.5081, allocations: 61.97 kB / 0.6037 GB, free: 12.12 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002164/0.5103, allocations: 1.3 MB / 0.605 GB, free: 10.81 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006637/0.5169, allocations: 4.959 MB / 0.6098 GB, free: 5.695 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002125/0.5191, allocations: 1.197 MB / 0.611 GB, free: 4.461 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.716e-05/0.5191, allocations: 16.56 kB / 0.611 GB, free: 4.445 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.5192, allocations: 47.05 kB / 0.611 GB, free: 4.391 MB / 442.7 MB Notification: Performance of pre-optimization done (n=74): time 3.877e-06/0.5192, allocations: 0 / 0.611 GB, free: 4.391 MB / 442.7 MB Notification: Performance of matching and sorting (n=75): time 0.006117/0.5253, allocations: 3.453 MB / 0.6144 GB, free: 0.8047 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/0.5254, allocations: 85.61 kB / 0.6145 GB, free: 0.7031 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004429/0.5258, allocations: 413.1 kB / 0.6149 GB, free: 300 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.517e-05/0.5259, allocations: 37.7 kB / 0.6149 GB, free: 256 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002342/0.5261, allocations: 391.5 kB / 0.6153 GB, free: 15.86 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001904/0.5263, allocations: 260.2 kB / 0.6155 GB, free: 15.6 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.47e-05/0.5264, allocations: 16 kB / 0.6155 GB, free: 15.58 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.5265, allocations: 370.8 kB / 0.6159 GB, free: 15.21 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008703/0.5274, allocations: 0.5173 MB / 0.6164 GB, free: 14.69 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009946/0.5284, allocations: 0.7144 MB / 0.6171 GB, free: 13.9 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009517/0.5294, allocations: 0.5926 MB / 0.6177 GB, free: 13.31 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.5294, allocations: 0 / 0.6177 GB, free: 13.31 MB / 458.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.004203/0.5336, allocations: 2.124 MB / 0.6198 GB, free: 11.16 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.5336, allocations: 8 kB / 0.6198 GB, free: 11.15 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003706/0.5373, allocations: 1.854 MB / 0.6216 GB, free: 9.273 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00173/0.5391, allocations: 0.6846 MB / 0.6222 GB, free: 8.582 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005741/0.5397, allocations: 155.8 kB / 0.6224 GB, free: 8.43 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01058/0.5503, allocations: 7.246 MB / 0.6295 GB, free: 0.918 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007733/0.5511, allocations: 88.06 kB / 0.6295 GB, free: 0.832 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.74e-05/0.5511, allocations: 35.98 kB / 0.6296 GB, free: 0.7969 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (76): * Single equations (assignments): 72 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {4 16} Notification: Performance of prepare postOptimizeDAE: time 0.0005244/0.5517, allocations: 309.5 kB / 0.6299 GB, free: 496 kB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/0.5518, allocations: 63.25 kB / 0.6299 GB, free: 432 kB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002273/0.5541, allocations: 1.321 MB / 0.6312 GB, free: 15.06 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.458e-05/0.5541, allocations: 16 kB / 0.6312 GB, free: 15.05 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.5542, allocations: 3.953 kB / 0.6312 GB, free: 15.04 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.5542, allocations: 7.984 kB / 0.6313 GB, free: 15.04 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00396/0.5581, allocations: 2.46 MB / 0.6337 GB, free: 12.49 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.5582, allocations: 0 / 0.6337 GB, free: 12.49 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002718/0.5609, allocations: 0.64 MB / 0.6343 GB, free: 11.85 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.899e-05/0.561, allocations: 28.84 kB / 0.6343 GB, free: 11.82 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.428e-05/0.561, allocations: 16 kB / 0.6343 GB, free: 11.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008664/0.5619, allocations: 1.385 MB / 0.6357 GB, free: 10.29 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.5619, allocations: 7.984 kB / 0.6357 GB, free: 10.28 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003136/0.5651, allocations: 2.128 MB / 0.6378 GB, free: 8.07 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001523/0.5652, allocations: 136.3 kB / 0.6379 GB, free: 7.918 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.972e-05/0.5653, allocations: 12 kB / 0.6379 GB, free: 7.906 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005282/0.5659, allocations: 75.91 kB / 0.638 GB, free: 7.832 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000165/0.566, allocations: 68.42 kB / 0.638 GB, free: 7.766 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.871e-05/0.5661, allocations: 20 kB / 0.6381 GB, free: 7.746 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003558/0.5665, allocations: 314.9 kB / 0.6384 GB, free: 7.441 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5665, allocations: 0 / 0.6384 GB, free: 7.441 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009703/0.5675, allocations: 259.9 kB / 0.6386 GB, free: 7.188 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],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 (66): * Single equations (assignments): 62 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002728/0.5677, allocations: 151.1 kB / 0.6388 GB, free: 7.027 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002682/0.5704, allocations: 1.607 MB / 0.6403 GB, free: 5.395 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.5704, allocations: 0 / 0.6403 GB, free: 5.395 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00264/0.5731, allocations: 1.162 MB / 0.6415 GB, free: 4.219 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006494/0.5737, allocations: 142.1 kB / 0.6416 GB, free: 4.082 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004115/0.5779, allocations: 2.718 MB / 0.6442 GB, free: 1.324 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006814/0.5786, allocations: 1.087 MB / 0.6453 GB, free: 212 kB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.1902/0.7688, allocations: 212.1 kB / 0.6455 GB, free: 137.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004004/0.7692, allocations: 48.34 kB / 0.6456 GB, free: 137.3 MB / 474.7 MB Notification: Performance of SimCode: time 1.913e-06/0.7692, allocations: 0.7188 kB / 0.6456 GB, free: 137.3 MB / 474.7 MB Notification: Performance of Templates: time 0.02065/0.7899, allocations: 12.17 MB / 0.6574 GB, free: 137 MB / 474.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Rectifier.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches