Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001825/0.001825, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002233/0.002233, allocations: 213.2 kB / 24.48 MB, free: 3.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.498/1.498, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1849/0.1849, allocations: 38.55 MB / 353.2 MB, free: 12.32 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p_av.1.|meterAC.p_av.2.|meterAC.p_av.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p_av.1.|meterAC.p_av.2.|meterAC.p_av.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002669/0.002669, allocations: 67.89 kB / 493.7 MB, free: 4.195 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2868, allocations: 62.46 MB / 0.5432 GB, free: 432 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.008638/0.2955, allocations: 6.413 MB / 0.5494 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003986/0.2995, allocations: 2.014 MB / 0.5514 GB, free: 9.996 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000368/0.2998, allocations: 35.06 kB / 0.5514 GB, free: 9.977 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001461/0.3013, allocations: 0.5006 MB / 0.5519 GB, free: 9.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001335/0.3026, allocations: 0.5709 MB / 0.5525 GB, free: 9.148 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000914/0.3035, allocations: 359.8 kB / 0.5528 GB, free: 8.883 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001468/0.305, allocations: 1.294 MB / 0.5541 GB, free: 8.145 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007794/0.3058, allocations: 0.5303 MB / 0.5546 GB, free: 7.785 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009105/0.3067, allocations: 0.5608 MB / 0.5551 GB, free: 7.465 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001062/0.3078, allocations: 0.7503 MB / 0.5559 GB, free: 7.031 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001706/0.3079, allocations: 105.7 kB / 0.556 GB, free: 7.031 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001143/0.3091, allocations: 0.6025 MB / 0.5566 GB, free: 6.461 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005261/0.3096, allocations: 486.8 kB / 0.557 GB, free: 5.984 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005537/0.3101, allocations: 458.2 kB / 0.5575 GB, free: 5.535 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001816/0.312, allocations: 1.553 MB / 0.559 GB, free: 3.977 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.312, allocations: 0 / 0.559 GB, free: 3.977 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.312, allocations: 0 / 0.559 GB, free: 3.977 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.498e-05/0.312, allocations: 0 / 0.559 GB, free: 3.977 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.003106/0.3151, allocations: 1.326 MB / 0.5603 GB, free: 2.613 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.3151, allocations: 11.98 kB / 0.5603 GB, free: 2.602 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008866/0.316, allocations: 180.2 kB / 0.5605 GB, free: 2.426 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001598/0.3176, allocations: 0.623 MB / 0.5611 GB, free: 1.773 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003532/0.318, allocations: 333.8 kB / 0.5614 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002155/0.3182, allocations: 83.92 kB / 0.5615 GB, free: 1.309 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00253/0.3207, allocations: 1.406 MB / 0.5628 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.864e-05/0.3207, allocations: 8 kB / 0.5629 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/0.3208, allocations: 28 kB / 0.5629 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002289/0.3211, allocations: 93.92 kB / 0.563 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002903/0.324, allocations: 1.514 MB / 0.5644 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007644/0.3316, allocations: 3.993 MB / 0.5683 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002414/0.334, allocations: 1.11 MB / 0.5694 GB, free: 9.004 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001379/0.3354, allocations: 0.7075 MB / 0.5701 GB, free: 8.293 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.957e-05/0.3355, allocations: 20.58 kB / 0.5701 GB, free: 8.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.3355, allocations: 43.22 kB / 0.5702 GB, free: 8.219 MB / 414.1 MB Notification: Performance of pre-optimization done (n=101): time 3.687e-06/0.3355, allocations: 0 / 0.5702 GB, free: 8.219 MB / 414.1 MB Notification: Performance of matching and sorting (n=102): time 0.007364/0.3429, allocations: 3.646 MB / 0.5737 GB, free: 4.535 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.172e-05/0.343, allocations: 90.11 kB / 0.5738 GB, free: 4.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004194/0.3434, allocations: 353.6 kB / 0.5742 GB, free: 4.078 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.003e-05/0.3435, allocations: 41.7 kB / 0.5742 GB, free: 4.031 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002641/0.3437, allocations: 349 kB / 0.5745 GB, free: 3.684 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003405/0.3441, allocations: 368.8 kB / 0.5749 GB, free: 3.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002966/0.3444, allocations: 166.7 kB / 0.575 GB, free: 3.152 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002005/0.3446, allocations: 374.8 kB / 0.5754 GB, free: 2.777 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001171/0.3457, allocations: 0.5914 MB / 0.576 GB, free: 2.184 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001288/0.347, allocations: 0.7502 MB / 0.5767 GB, free: 1.391 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002489/0.3495, allocations: 1.379 MB / 0.5781 GB, free: 15.96 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-05/0.3495, allocations: 4 kB / 0.5781 GB, free: 15.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002986/0.3525, allocations: 1.521 MB / 0.5796 GB, free: 14.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.3525, allocations: 8.062 kB / 0.5796 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.3525, allocations: 4 kB / 0.5796 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000166/0.3527, allocations: 40.78 kB / 0.5796 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002667/0.3554, allocations: 0.4992 MB / 0.5801 GB, free: 13.87 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007394/0.3628, allocations: 6.181 MB / 0.5861 GB, free: 7.285 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007743/0.3635, allocations: 79.89 kB / 0.5862 GB, free: 7.207 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.991e-05/0.3636, allocations: 36.14 kB / 0.5862 GB, free: 7.172 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (104): * Single equations (assignments): 97 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems 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 prepare postOptimizeDAE: time 0.0005335/0.3642, allocations: 321.5 kB / 0.5865 GB, free: 6.848 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001809/0.3643, allocations: 67.55 kB / 0.5866 GB, free: 6.781 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003/0.3673, allocations: 1.501 MB / 0.5881 GB, free: 5.273 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.97e-05/0.3674, allocations: 31.94 kB / 0.5881 GB, free: 5.242 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3674, allocations: 0 / 0.5881 GB, free: 5.242 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.3674, allocations: 11.92 kB / 0.5881 GB, free: 5.23 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004975/0.3724, allocations: 2.52 MB / 0.5906 GB, free: 2.645 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.3724, allocations: 0 / 0.5906 GB, free: 2.645 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003056/0.3754, allocations: 0.5346 MB / 0.5911 GB, free: 2.109 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001202/0.3756, allocations: 40.77 kB / 0.5911 GB, free: 2.066 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.367e-05/0.3756, allocations: 20 kB / 0.5912 GB, free: 2.047 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001377/0.377, allocations: 1.508 MB / 0.5926 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.377, allocations: 8.094 kB / 0.5926 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004488/0.3815, allocations: 2.457 MB / 0.595 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001429/0.3816, allocations: 63.52 kB / 0.5951 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/0.3818, allocations: 23.94 kB / 0.5951 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006291/0.3824, allocations: 79.89 kB / 0.5952 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001999/0.3826, allocations: 80.45 kB / 0.5953 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.198e-05/0.3827, allocations: 24 kB / 0.5953 GB, free: 13.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003055/0.383, allocations: 247.1 kB / 0.5955 GB, free: 13.42 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.383, allocations: 0 / 0.5955 GB, free: 13.42 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009295/0.3839, allocations: 239.9 kB / 0.5958 GB, free: 13.19 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (86): * Single equations (assignments): 81 * Array equations: 3 * 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.0003392/0.3843, allocations: 159 kB / 0.5959 GB, free: 13.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004544/0.3888, allocations: 1.755 MB / 0.5976 GB, free: 11.26 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3888, allocations: 0 / 0.5976 GB, free: 11.26 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003071/0.3919, allocations: 1.132 MB / 0.5987 GB, free: 10.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008206/0.3927, allocations: 123.9 kB / 0.5988 GB, free: 9.992 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005503/0.3982, allocations: 2.691 MB / 0.6015 GB, free: 7.242 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005972/0.3988, allocations: 490 kB / 0.6019 GB, free: 6.738 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003614/0.3992, allocations: 67.42 kB / 0.602 GB, free: 6.672 MB / 446.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3992, allocations: 0 / 0.602 GB, free: 6.672 MB / 446.1 MB Notification: Performance of Templates: time 0.03264/0.4318, allocations: 24.04 MB / 0.6255 GB, free: 14.61 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Inverters.Rectifier.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.987541489303112]