Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009079/0.0009082, allocations: 186.2 kB / 16.71 MB, free: 4.961 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.529/1.529, allocations: 225.7 MB / 243.2 MB, free: 8.438 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007803/0.0007806, allocations: 97.02 kB / 294.4 MB, free: 9.484 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.3108/0.3108, allocations: 38.12 MB / 383.6 MB, free: 40.29 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003385/0.0003384, allocations: 8 kB / 453.5 MB, free: 8.773 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.344, allocations: 59.13 MB / 0.5006 GB, free: 39.03 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.006864/0.3509, allocations: 6.426 MB / 0.5069 GB, free: 37.32 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003245/0.3542, allocations: 1.919 MB / 0.5087 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004832/0.3547, allocations: 37.31 kB / 0.5088 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00052/0.3552, allocations: 124.7 kB / 0.5089 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008358/0.3561, allocations: 389.2 kB / 0.5093 GB, free: 35.53 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004607/0.3565, allocations: 166.8 kB / 0.5094 GB, free: 35.44 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00165/0.3582, allocations: 1.622 MB / 0.511 GB, free: 34.93 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004013/0.3586, allocations: 281.7 kB / 0.5113 GB, free: 34.84 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005696/0.3592, allocations: 383.9 kB / 0.5117 GB, free: 34.7 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000688/0.3599, allocations: 0.5175 MB / 0.5122 GB, free: 34.54 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.155e-05/0.36, allocations: 29.53 kB / 0.5122 GB, free: 34.54 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.3601, allocations: 31.59 kB / 0.5122 GB, free: 34.54 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002239/0.3603, allocations: 277 kB / 0.5125 GB, free: 34.45 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002791/0.3606, allocations: 345.9 kB / 0.5128 GB, free: 34.25 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005556/0.3612, allocations: 0.7906 MB / 0.5136 GB, free: 34.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3612, allocations: 0.9062 kB / 0.5136 GB, free: 34.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3612, allocations: 0 / 0.5136 GB, free: 34.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.367e-06/0.3612, allocations: 0 / 0.5136 GB, free: 34.02 MB / 378.7 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.001587/0.3628, allocations: 0.9084 MB / 0.5145 GB, free: 33.42 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.3629, allocations: 8.812 kB / 0.5145 GB, free: 33.42 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.363, allocations: 67.62 kB / 0.5145 GB, free: 33.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000762/0.3638, allocations: 0.5502 MB / 0.5151 GB, free: 33.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001627/0.3639, allocations: 121.4 kB / 0.5152 GB, free: 32.94 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.364, allocations: 52.12 kB / 0.5152 GB, free: 32.92 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.3653, allocations: 0.7862 MB / 0.516 GB, free: 32.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.3654, allocations: 3.938 kB / 0.516 GB, free: 32.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.106e-05/0.3654, allocations: 22.03 kB / 0.516 GB, free: 32.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001044/0.3655, allocations: 35.17 kB / 0.5161 GB, free: 32.55 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001379/0.3669, allocations: 0.7605 MB / 0.5168 GB, free: 32.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003002/0.3699, allocations: 2.629 MB / 0.5194 GB, free: 30.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001341/0.3713, allocations: 0.8465 MB / 0.5202 GB, free: 30.34 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005577/0.3718, allocations: 412.8 kB / 0.5206 GB, free: 30.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.584e-05/0.3719, allocations: 6.188 kB / 0.5206 GB, free: 30.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.3719, allocations: 37.91 kB / 0.5206 GB, free: 30.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=50): time 2.915e-06/0.3719, allocations: 0 / 0.5206 GB, free: 30.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=51): time 0.003507/0.3754, allocations: 2.216 MB / 0.5228 GB, free: 28.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.3755, allocations: 84.17 kB / 0.5229 GB, free: 28.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003279/0.3758, allocations: 400.6 kB / 0.5233 GB, free: 28.67 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.3759, allocations: 32.8 kB / 0.5233 GB, free: 28.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.376, allocations: 289.8 kB / 0.5236 GB, free: 28.4 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.699e-05/0.3761, allocations: 185 kB / 0.5238 GB, free: 28.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.521e-05/0.3761, allocations: 8 kB / 0.5238 GB, free: 28.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.195e-05/0.3762, allocations: 364.3 kB / 0.5241 GB, free: 27.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004503/0.3767, allocations: 289.6 kB / 0.5244 GB, free: 27.83 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004871/0.3772, allocations: 396.2 kB / 0.5248 GB, free: 27.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009785/0.3781, allocations: 0.6788 MB / 0.5254 GB, free: 27.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.3782, allocations: 3.094 kB / 0.5254 GB, free: 27.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001254/0.3794, allocations: 0.8979 MB / 0.5263 GB, free: 26.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.3795, allocations: 10.09 kB / 0.5263 GB, free: 26.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.3795, allocations: 3.188 kB / 0.5263 GB, free: 26.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002211/0.3797, allocations: 79.17 kB / 0.5264 GB, free: 26.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/0.3812, allocations: 394.6 kB / 0.5268 GB, free: 26.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00423/0.3854, allocations: 6.17 MB / 0.5328 GB, free: 21.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004723/0.3859, allocations: 48.69 kB / 0.5328 GB, free: 21.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.933e-05/0.386, allocations: 19.81 kB / 0.5329 GB, free: 21.22 MB / 378.7 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 (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003443/0.3863, allocations: 247.3 kB / 0.5331 GB, free: 21.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.368e-05/0.3864, allocations: 44.78 kB / 0.5331 GB, free: 21.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001326/0.3877, allocations: 0.8654 MB / 0.534 GB, free: 20.61 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.3877, allocations: 9.969 kB / 0.534 GB, free: 20.61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3877, allocations: 0 / 0.534 GB, free: 20.61 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.3878, allocations: 0 / 0.534 GB, free: 20.61 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002303/0.3901, allocations: 1.71 MB / 0.5357 GB, free: 19.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.3901, allocations: 3.219 kB / 0.5357 GB, free: 19.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001565/0.3917, allocations: 430.6 kB / 0.5361 GB, free: 19.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000236/0.3919, allocations: 86.06 kB / 0.5362 GB, free: 19.67 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.916e-05/0.3919, allocations: 17.83 kB / 0.5362 GB, free: 19.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0015/0.3935, allocations: 2.887 MB / 0.539 GB, free: 16.9 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.3935, allocations: 4.25 kB / 0.539 GB, free: 16.89 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001829/0.3953, allocations: 1.377 MB / 0.5403 GB, free: 16.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.3954, allocations: 120.5 kB / 0.5405 GB, free: 16.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.783e-05/0.3955, allocations: 18.31 kB / 0.5405 GB, free: 16.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003359/0.3959, allocations: 47.95 kB / 0.5405 GB, free: 16.06 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.396, allocations: 47.16 kB / 0.5406 GB, free: 16.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-05/0.396, allocations: 17.33 kB / 0.5406 GB, free: 16.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002693/0.3963, allocations: 275.2 kB / 0.5408 GB, free: 15.92 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3963, allocations: 0 / 0.5408 GB, free: 15.92 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006401/0.397, allocations: 152.2 kB / 0.541 GB, free: 15.9 MB / 378.7 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 (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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001429/0.3971, allocations: 116.5 kB / 0.5411 GB, free: 15.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002452/0.3996, allocations: 1.201 MB / 0.5423 GB, free: 15.36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3996, allocations: 3.938 kB / 0.5423 GB, free: 15.36 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001728/0.4013, allocations: 0.8985 MB / 0.5432 GB, free: 15 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008147/0.4021, allocations: 133.1 kB / 0.5433 GB, free: 14.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002722/0.4049, allocations: 1.92 MB / 0.5452 GB, free: 13.84 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.4053, allocations: 0.9503 MB / 0.5461 GB, free: 13.11 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004308/0.4057, allocations: 123.5 kB / 0.5462 GB, free: 13.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.4058, allocations: 45.2 kB / 0.5462 GB, free: 13.07 MB / 378.7 MB Notification: Performance of SimCode: time 1.533e-06/0.4059, allocations: 0 / 0.5462 GB, free: 13.07 MB / 378.7 MB Notification: Performance of Templates: time 0.01649/0.4223, allocations: 7.331 MB / 0.5534 GB, free: 12.05 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe 2>&1)