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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008301/0.0008302, allocations: 90.39 kB / 16.65 MB, free: 6.586 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.0008876/0.0008876, allocations: 181.2 kB / 17.56 MB, free: 6.203 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.192/1.192, allocations: 223.3 MB / 241.6 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1565/0.1565, allocations: 38.08 MB / 330.8 MB, free: 8.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002588/0.0002588, allocations: 12 kB / 400.7 MB, free: 34.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09205/0.09232, allocations: 59.16 MB / 459.9 MB, free: 7.094 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.007184/0.09955, allocations: 7.368 MB / 467.3 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003359/0.1029, allocations: 2.442 MB / 469.7 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003016/0.1033, allocations: 43.69 kB / 469.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004277/0.1037, allocations: 147 kB / 469.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009078/0.1046, allocations: 0.5097 MB / 470.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000632/0.1053, allocations: 335.4 kB / 470.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001477/0.1067, allocations: 1.84 MB / 472.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001187/0.1079, allocations: 0.9432 MB / 473.5 MB, free: 9.383 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004793/0.1084, allocations: 442.1 kB / 473.9 MB, free: 8.949 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007606/0.1092, allocations: 0.6581 MB / 474.6 MB, free: 8.289 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.661e-05/0.1093, allocations: 48 kB / 474.6 MB, free: 8.242 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007137/0.11, allocations: 0.5108 MB / 475.1 MB, free: 7.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003484/0.1104, allocations: 403 kB / 475.5 MB, free: 7.336 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004099/0.1108, allocations: 487.3 kB / 476 MB, free: 6.852 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.112, allocations: 1.382 MB / 477.4 MB, free: 5.465 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.112, allocations: 0 / 477.4 MB, free: 5.465 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.112, allocations: 0 / 477.4 MB, free: 5.465 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.112, allocations: 0 / 477.4 MB, free: 5.465 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002227/0.1143, allocations: 1.196 MB / 478.6 MB, free: 4.215 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.1143, allocations: 8.031 kB / 478.6 MB, free: 4.207 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007093/0.115, allocations: 151.7 kB / 478.8 MB, free: 4.059 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.1161, allocations: 0.6554 MB / 479.4 MB, free: 3.363 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002293/0.1164, allocations: 183.6 kB / 479.6 MB, free: 3.164 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002111/0.1166, allocations: 95.84 kB / 479.7 MB, free: 3.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002114/0.1187, allocations: 1.386 MB / 481.1 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.691e-05/0.1188, allocations: 0 / 481.1 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.733e-05/0.1188, allocations: 36 kB / 481.1 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001545/0.119, allocations: 61.97 kB / 481.2 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00226/0.1213, allocations: 1.343 MB / 482.5 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006237/0.1275, allocations: 4.982 MB / 487.5 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002104/0.1296, allocations: 1.211 MB / 488.7 MB, free: 9.785 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001073/0.1307, allocations: 0.6438 MB / 489.3 MB, free: 9.133 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.067e-05/0.1308, allocations: 12.55 kB / 489.4 MB, free: 9.121 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.1308, allocations: 43.12 kB / 489.4 MB, free: 9.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 2.806e-06/0.1308, allocations: 0 / 489.4 MB, free: 9.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.005579/0.1364, allocations: 3.303 MB / 492.7 MB, free: 5.672 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.1365, allocations: 81.67 kB / 492.8 MB, free: 5.574 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004783/0.137, allocations: 465.9 kB / 493.2 MB, free: 5.105 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.37e-05/0.137, allocations: 45.67 kB / 493.3 MB, free: 5.055 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002307/0.1373, allocations: 403.2 kB / 493.7 MB, free: 4.652 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001884/0.1375, allocations: 256.3 kB / 493.9 MB, free: 4.398 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.961e-05/0.1376, allocations: 73.69 kB / 494 MB, free: 4.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.1378, allocations: 370.8 kB / 494.4 MB, free: 3.949 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008861/0.1386, allocations: 0.525 MB / 494.9 MB, free: 3.426 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009915/0.1396, allocations: 0.7115 MB / 495.6 MB, free: 2.637 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001866/0.1415, allocations: 1.271 MB / 496.9 MB, free: 1.293 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.1415, allocations: 7.938 kB / 496.9 MB, free: 1.285 MB / 366.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004379/0.1459, allocations: 2.123 MB / 499 MB, free: 15.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.146, allocations: 8 kB / 499 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003868/0.1498, allocations: 1.871 MB / 0.4891 GB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001757/0.1516, allocations: 0.7003 MB / 0.4898 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005596/0.1522, allocations: 151.8 kB / 0.49 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01035/0.1625, allocations: 7.084 MB / 0.4969 GB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006487/0.1632, allocations: 92 kB / 0.497 GB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.729e-05/0.1633, allocations: 31.94 kB / 0.497 GB, free: 4.902 MB / 382.1 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): 73 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0004318/0.1637, allocations: 313.5 kB / 0.4973 GB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.1639, allocations: 63.33 kB / 0.4974 GB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002266/0.1661, allocations: 1.344 MB / 0.4987 GB, free: 3.152 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.941e-05/0.1662, allocations: 12 kB / 0.4987 GB, free: 3.141 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.1662, allocations: 0 / 0.4987 GB, free: 3.141 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.1662, allocations: 11.92 kB / 0.4987 GB, free: 3.129 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0037/0.1699, allocations: 2.465 MB / 0.5011 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.1699, allocations: 0 / 0.5011 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1834/0.3533, allocations: 0.6373 MB / 0.5017 GB, free: 56.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001304/0.3535, allocations: 32.39 kB / 0.5018 GB, free: 56.29 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001269/0.3536, allocations: 18.17 kB / 0.5018 GB, free: 56.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008623/0.3545, allocations: 1.469 MB / 0.5032 GB, free: 54.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3545, allocations: 0.9062 kB / 0.5032 GB, free: 54.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003259/0.3578, allocations: 2.084 MB / 0.5052 GB, free: 54.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.3579, allocations: 136.5 kB / 0.5054 GB, free: 54.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.947e-05/0.358, allocations: 17.42 kB / 0.5054 GB, free: 54.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005245/0.3585, allocations: 73.81 kB / 0.5055 GB, free: 54.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001707/0.3587, allocations: 65.95 kB / 0.5055 GB, free: 54.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.592e-05/0.3587, allocations: 21.16 kB / 0.5055 GB, free: 54.61 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003272/0.3591, allocations: 321 kB / 0.5058 GB, free: 54.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3591, allocations: 1.062 kB / 0.5058 GB, free: 54.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008303/0.3599, allocations: 232.4 kB / 0.5061 GB, free: 54.52 MB / 382.1 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 (67): * Single equations (assignments): 64 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001861/0.3601, allocations: 132.7 kB / 0.5062 GB, free: 54.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00253/0.3626, allocations: 1.605 MB / 0.5078 GB, free: 54.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3627, allocations: 0 / 0.5078 GB, free: 54.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002658/0.3653, allocations: 1.148 MB / 0.5089 GB, free: 53.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008157/0.3662, allocations: 153.8 kB / 0.509 GB, free: 53.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00346/0.3696, allocations: 2.768 MB / 0.5117 GB, free: 52.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005364/0.3702, allocations: 1.075 MB / 0.5128 GB, free: 51.51 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000583/0.3708, allocations: 211.7 kB / 0.513 GB, free: 51.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002076/0.371, allocations: 54.36 kB / 0.513 GB, free: 51.48 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.371, allocations: 2.656 kB / 0.513 GB, free: 51.48 MB / 382.1 MB Notification: Performance of Templates: time 0.01919/0.3902, allocations: 12.46 MB / 0.5252 GB, free: 47.02 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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