Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.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.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/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.Elementary.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.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.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.Elementary.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.001474/0.001474, allocations: 179.5 kB / 16.71 MB, free: 5.09 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.218/1.218, allocations: 225.7 MB / 243.2 MB, free: 8.453 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.00074/0.00074, allocations: 96.12 kB / 294.4 MB, free: 9.496 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2571/0.2571, allocations: 38.19 MB / 383.7 MB, free: 40.37 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002655/0.0002656, allocations: 12 kB / 453.6 MB, free: 8.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2808, allocations: 59.15 MB / 0.5007 GB, free: 38.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.006815/0.2877, allocations: 6.693 MB / 0.5072 GB, free: 36.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00312/0.2908, allocations: 2.006 MB / 0.5092 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004531/0.2913, allocations: 42.75 kB / 0.5092 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004398/0.2918, allocations: 126 kB / 0.5094 GB, free: 35.26 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008202/0.2926, allocations: 403 kB / 0.5097 GB, free: 35.05 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004223/0.293, allocations: 179 kB / 0.5099 GB, free: 34.95 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001547/0.2946, allocations: 1.674 MB / 0.5115 GB, free: 34.42 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003569/0.295, allocations: 283.7 kB / 0.5118 GB, free: 34.34 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004782/0.2954, allocations: 398.6 kB / 0.5122 GB, free: 34.19 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005922/0.296, allocations: 0.5205 MB / 0.5127 GB, free: 34.02 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.946e-05/0.2961, allocations: 33.03 kB / 0.5127 GB, free: 34.02 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.2962, allocations: 32.5 kB / 0.5128 GB, free: 34.02 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002342/0.2965, allocations: 277.3 kB / 0.513 GB, free: 33.94 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000268/0.2968, allocations: 361.4 kB / 0.5134 GB, free: 33.73 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005186/0.2973, allocations: 0.8186 MB / 0.5142 GB, free: 33.49 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2973, allocations: 0 / 0.5142 GB, free: 33.49 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.196e-06/0.2973, allocations: 0 / 0.5142 GB, free: 33.49 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.2973, allocations: 3.938 kB / 0.5142 GB, free: 33.49 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.001427/0.2988, allocations: 0.9137 MB / 0.5151 GB, free: 32.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.2988, allocations: 8.844 kB / 0.5151 GB, free: 32.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001141/0.2989, allocations: 78.16 kB / 0.5151 GB, free: 32.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007739/0.2997, allocations: 0.5495 MB / 0.5157 GB, free: 32.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001365/0.2998, allocations: 127.2 kB / 0.5158 GB, free: 32.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.33e-05/0.2999, allocations: 60.52 kB / 0.5159 GB, free: 32.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/0.3012, allocations: 0.8005 MB / 0.5166 GB, free: 32.01 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.3012, allocations: 5.156 kB / 0.5167 GB, free: 32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.22e-05/0.3012, allocations: 21.28 kB / 0.5167 GB, free: 31.99 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001095/0.3014, allocations: 34.47 kB / 0.5167 GB, free: 31.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/0.3025, allocations: 0.7216 MB / 0.5174 GB, free: 31.77 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003262/0.3058, allocations: 2.762 MB / 0.5201 GB, free: 30.11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/0.3072, allocations: 0.9251 MB / 0.521 GB, free: 29.67 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004649/0.3077, allocations: 355.8 kB / 0.5213 GB, free: 29.54 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.142e-05/0.3077, allocations: 3.688 kB / 0.5214 GB, free: 29.54 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.3078, allocations: 37.31 kB / 0.5214 GB, free: 29.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=38): time 1.954e-06/0.3078, allocations: 0 / 0.5214 GB, free: 29.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=39): time 0.003088/0.3109, allocations: 2.015 MB / 0.5234 GB, free: 28.37 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.3109, allocations: 90.03 kB / 0.5234 GB, free: 28.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000334/0.3113, allocations: 416.6 kB / 0.5238 GB, free: 28.08 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.3113, allocations: 33.7 kB / 0.5239 GB, free: 28.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.3114, allocations: 321.7 kB / 0.5242 GB, free: 27.79 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.597e-05/0.3115, allocations: 137.9 kB / 0.5243 GB, free: 27.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.248e-05/0.3115, allocations: 11.09 kB / 0.5243 GB, free: 27.67 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.949e-05/0.3116, allocations: 359.8 kB / 0.5247 GB, free: 27.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000407/0.312, allocations: 253.1 kB / 0.5249 GB, free: 27.26 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000455/0.3125, allocations: 366 kB / 0.5253 GB, free: 27.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008146/0.3133, allocations: 0.6047 MB / 0.5258 GB, free: 26.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3133, allocations: 3.25 kB / 0.5258 GB, free: 26.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001104/0.3145, allocations: 0.8137 MB / 0.5266 GB, free: 26.37 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.3145, allocations: 6.25 kB / 0.5266 GB, free: 26.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.3145, allocations: 3.062 kB / 0.5266 GB, free: 26.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002197/0.3147, allocations: 78.7 kB / 0.5267 GB, free: 26.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/0.316, allocations: 375.5 kB / 0.5271 GB, free: 26.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003954/0.32, allocations: 6.157 MB / 0.5331 GB, free: 20.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000434/0.3205, allocations: 43.08 kB / 0.5331 GB, free: 20.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.468e-05/0.3205, allocations: 18.91 kB / 0.5332 GB, free: 20.71 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (54): * Single equations (assignments): 50 * 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.0002881/0.3208, allocations: 248 kB / 0.5334 GB, free: 20.54 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.522e-05/0.3209, allocations: 46.22 kB / 0.5334 GB, free: 20.51 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/0.322, allocations: 0.7598 MB / 0.5342 GB, free: 20.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.322, allocations: 3.219 kB / 0.5342 GB, free: 20.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.322, allocations: 7.031 kB / 0.5342 GB, free: 20.15 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.322, allocations: 3.422 kB / 0.5342 GB, free: 20.15 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001969/0.324, allocations: 1.545 MB / 0.5357 GB, free: 19.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.324, allocations: 0 / 0.5357 GB, free: 19.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001489/0.3255, allocations: 408.2 kB / 0.5361 GB, free: 19.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002266/0.3257, allocations: 84.98 kB / 0.5362 GB, free: 19.29 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.032e-05/0.3258, allocations: 14.58 kB / 0.5362 GB, free: 19.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001388/0.3272, allocations: 2.889 MB / 0.539 GB, free: 16.51 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.3272, allocations: 6.938 kB / 0.539 GB, free: 16.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001555/0.3288, allocations: 1.166 MB / 0.5401 GB, free: 15.92 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.3289, allocations: 120.4 kB / 0.5403 GB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.543e-05/0.329, allocations: 10.75 kB / 0.5403 GB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000306/0.3293, allocations: 41.02 kB / 0.5403 GB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.3294, allocations: 38.06 kB / 0.5404 GB, free: 15.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.912e-05/0.3294, allocations: 13.5 kB / 0.5404 GB, free: 15.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002897/0.3297, allocations: 294.3 kB / 0.5406 GB, free: 15.63 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3297, allocations: 0 / 0.5406 GB, free: 15.63 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005979/0.3303, allocations: 136 kB / 0.5408 GB, free: 15.62 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (39): * Single equations (assignments): 36 * 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.0001296/0.3305, allocations: 121.6 kB / 0.5409 GB, free: 15.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00228/0.3328, allocations: 1.106 MB / 0.542 GB, free: 15.1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3328, allocations: 3.344 kB / 0.542 GB, free: 15.1 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001624/0.3344, allocations: 0.8241 MB / 0.5428 GB, free: 14.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007095/0.3351, allocations: 135.1 kB / 0.5429 GB, free: 14.72 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001861/0.337, allocations: 1.764 MB / 0.5446 GB, free: 13.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.3373, allocations: 0.9509 MB / 0.5456 GB, free: 12.93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002783/0.3376, allocations: 96.36 kB / 0.5456 GB, free: 12.92 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.3377, allocations: 37.16 kB / 0.5457 GB, free: 12.91 MB / 378.7 MB Notification: Performance of SimCode: time 5.61e-07/0.3377, allocations: 0 / 0.5457 GB, free: 12.91 MB / 378.7 MB Notification: Performance of Templates: time 0.01234/0.3501, allocations: 7.211 MB / 0.5527 GB, free: 12.25 MB / 378.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches