Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.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.Inverters.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.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.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.Inverters.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008793/0.0008794, allocations: 98.42 kB / 16.31 MB, free: 5.996 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.0008512/0.0008513, allocations: 184.5 kB / 17.2 MB, free: 5.914 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.222/1.222, allocations: 223.2 MB / 241.1 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2664/0.2664, allocations: 38.08 MB / 330.3 MB, free: 14.23 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002684/0.0002684, allocations: 8 kB / 400 MB, free: 9.289 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2478, allocations: 59.16 MB / 459.1 MB, free: 30.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.005383/0.2532, allocations: 6.03 MB / 465.2 MB, free: 26.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002283/0.2555, allocations: 1.624 MB / 466.8 MB, free: 24.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003527/0.2559, allocations: 34.62 kB / 466.8 MB, free: 24.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004302/0.2563, allocations: 138.2 kB / 467 MB, free: 24.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008507/0.2572, allocations: 326.7 kB / 467.3 MB, free: 24.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005675/0.2578, allocations: 193.5 kB / 467.5 MB, free: 24.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006953/0.2585, allocations: 0.5435 MB / 468 MB, free: 24.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004183/0.2589, allocations: 252.8 kB / 468.3 MB, free: 24.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004457/0.2593, allocations: 327 kB / 468.6 MB, free: 24.06 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005254/0.2599, allocations: 354.8 kB / 468.9 MB, free: 23.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.809e-05/0.26, allocations: 31.72 kB / 469 MB, free: 23.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.682e-05/0.2601, allocations: 35.16 kB / 469 MB, free: 23.94 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002529/0.2603, allocations: 249.7 kB / 469.2 MB, free: 23.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.2605, allocations: 147.6 kB / 469.4 MB, free: 23.78 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006785/0.2612, allocations: 0.6358 MB / 470 MB, free: 23.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.2612, allocations: 0 / 470 MB, free: 23.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2612, allocations: 1.031 kB / 470 MB, free: 23.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.2612, allocations: 0 / 470 MB, free: 23.64 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.001796/0.263, allocations: 0.9177 MB / 470.9 MB, free: 23.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.263, allocations: 9.438 kB / 470.9 MB, free: 23.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001294/0.2632, allocations: 67.19 kB / 471 MB, free: 23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009061/0.2641, allocations: 0.5337 MB / 471.5 MB, free: 22.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001507/0.2642, allocations: 118.1 kB / 471.7 MB, free: 22.56 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.744e-05/0.2644, allocations: 55.73 kB / 471.7 MB, free: 22.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/0.2657, allocations: 0.7827 MB / 472.5 MB, free: 22.19 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.2657, allocations: 5.125 kB / 472.5 MB, free: 22.19 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.753e-05/0.2658, allocations: 21.28 kB / 472.5 MB, free: 22.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001165/0.2659, allocations: 39.75 kB / 472.6 MB, free: 22.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001376/0.2673, allocations: 0.7538 MB / 473.3 MB, free: 21.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003405/0.2707, allocations: 2.625 MB / 475.9 MB, free: 20.17 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/0.2721, allocations: 0.8443 MB / 476.8 MB, free: 19.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.248e-05/0.2722, allocations: 9.672 kB / 476.8 MB, free: 19.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.2722, allocations: 37.75 kB / 476.8 MB, free: 19.63 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 1.694e-06/0.2722, allocations: 0 / 476.8 MB, free: 19.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.003559/0.2758, allocations: 2.211 MB / 479 MB, free: 18.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.2758, allocations: 86.69 kB / 479.1 MB, free: 18.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003688/0.2762, allocations: 396.5 kB / 479.5 MB, free: 17.87 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.401e-05/0.2762, allocations: 35.98 kB / 479.5 MB, free: 17.83 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.2764, allocations: 287.1 kB / 479.8 MB, free: 17.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.2765, allocations: 175 kB / 480 MB, free: 17.42 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-05/0.2765, allocations: 15.16 kB / 480 MB, free: 17.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.787e-05/0.2766, allocations: 359.2 kB / 480.4 MB, free: 17.06 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005/0.2771, allocations: 290.2 kB / 480.6 MB, free: 16.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005477/0.2777, allocations: 397.4 kB / 481 MB, free: 16.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005432/0.2782, allocations: 323.8 kB / 481.3 MB, free: 16.51 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2782, allocations: 1.031 kB / 481.3 MB, free: 16.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00135/0.2796, allocations: 0.8993 MB / 482.2 MB, free: 16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.2796, allocations: 12.73 kB / 482.3 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.934e-06/0.2796, allocations: 4 kB / 482.3 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002253/0.2799, allocations: 74.64 kB / 482.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001538/0.2814, allocations: 393.6 kB / 482.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004436/0.2858, allocations: 6.253 MB / 489 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004899/0.2864, allocations: 51.89 kB / 489 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.351e-05/0.2864, allocations: 16 kB / 489 MB, free: 9.059 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (65): * Single equations (assignments): 61 * 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.0003499/0.2868, allocations: 244.1 kB / 489.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.562e-05/0.2868, allocations: 43.44 kB / 489.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001252/0.2881, allocations: 0.8632 MB / 490.2 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.2881, allocations: 4 kB / 490.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2881, allocations: 4 kB / 490.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.2881, allocations: 0 / 490.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002204/0.2903, allocations: 1.723 MB / 491.9 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.2904, allocations: 4 kB / 491.9 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001563/0.2919, allocations: 431.7 kB / 492.3 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002159/0.2922, allocations: 89.62 kB / 492.4 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.394e-05/0.2922, allocations: 12 kB / 492.4 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001334/0.2935, allocations: 2.911 MB / 495.3 MB, free: 2.328 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.2936, allocations: 8.219 kB / 495.4 MB, free: 2.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001664/0.2952, allocations: 1.437 MB / 496.8 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.607e-05/0.2953, allocations: 128.5 kB / 496.9 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.595e-05/0.2954, allocations: 15.95 kB / 496.9 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003329/0.2957, allocations: 47.89 kB / 497 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.013e-05/0.2958, allocations: 47.94 kB / 497 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-05/0.2959, allocations: 16 kB / 497 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002095/0.2961, allocations: 279.1 kB / 497.3 MB, free: 248 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2961, allocations: 0 / 497.3 MB, free: 248 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.000601/0.2967, allocations: 148 kB / 497.5 MB, free: 100 kB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (51): * Single equations (assignments): 48 * 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.0001527/0.2968, allocations: 119.1 kB / 497.6 MB, free: 15.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002628/0.2995, allocations: 1.198 MB / 498.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2995, allocations: 0 / 498.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001911/0.3014, allocations: 0.892 MB / 499.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005659/0.302, allocations: 125.6 kB / 499.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002861/0.3049, allocations: 1.871 MB / 0.4899 GB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006168/0.3055, allocations: 0.9525 MB / 0.4908 GB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003622/0.3059, allocations: 132.6 kB / 0.491 GB, free: 10.69 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.306, allocations: 43.44 kB / 0.491 GB, free: 10.64 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.306, allocations: 0 / 0.491 GB, free: 10.64 MB / 366.1 MB Notification: Performance of Templates: time 0.01106/0.3171, allocations: 7.119 MB / 0.498 GB, free: 3.582 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.makefile Environment - environmentSimulation: (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches