Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_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.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.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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009296/0.0009296, allocations: 180 kB / 16.71 MB, free: 5.074 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.214/1.214, allocations: 225.7 MB / 243.2 MB, free: 10.17 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.00072/0.00072, allocations: 94.16 kB / 294.4 MB, free: 9.695 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.2733/0.2733, allocations: 38.19 MB / 383.7 MB, free: 40.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002827/0.0002827, allocations: 8 kB / 453.6 MB, free: 8.797 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2617, allocations: 59.15 MB / 0.5007 GB, free: 39.02 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.007237/0.269, allocations: 6.439 MB / 0.507 GB, free: 37.35 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002921/0.2719, allocations: 1.91 MB / 0.5088 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007901/0.2727, allocations: 40.97 kB / 0.5089 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005489/0.2733, allocations: 118 kB / 0.509 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009305/0.2743, allocations: 392.4 kB / 0.5094 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004811/0.2747, allocations: 165.8 kB / 0.5095 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001496/0.2763, allocations: 1.626 MB / 0.5111 GB, free: 34.96 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003928/0.2767, allocations: 281 kB / 0.5114 GB, free: 34.89 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004469/0.2771, allocations: 389 kB / 0.5118 GB, free: 34.73 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005547/0.2777, allocations: 0.5153 MB / 0.5123 GB, free: 34.57 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.82e-05/0.2778, allocations: 31.72 kB / 0.5123 GB, free: 34.57 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.2779, allocations: 31.56 kB / 0.5123 GB, free: 34.57 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001943/0.2781, allocations: 273 kB / 0.5126 GB, free: 34.49 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002564/0.2783, allocations: 350.3 kB / 0.5129 GB, free: 34.28 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004666/0.2788, allocations: 0.7925 MB / 0.5137 GB, free: 34.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2788, allocations: 0 / 0.5137 GB, free: 34.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2788, allocations: 0 / 0.5137 GB, free: 34.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.625e-06/0.2788, allocations: 0 / 0.5137 GB, free: 34.05 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.0014/0.2802, allocations: 0.8936 MB / 0.5146 GB, free: 33.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.2803, allocations: 15.03 kB / 0.5146 GB, free: 33.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.922e-05/0.2804, allocations: 70.97 kB / 0.5146 GB, free: 33.42 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007202/0.2811, allocations: 0.5475 MB / 0.5152 GB, free: 33.05 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001286/0.2812, allocations: 125.3 kB / 0.5153 GB, free: 32.96 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.703e-05/0.2813, allocations: 53.5 kB / 0.5153 GB, free: 32.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.2824, allocations: 0.7942 MB / 0.5161 GB, free: 32.6 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.2824, allocations: 0 / 0.5161 GB, free: 32.6 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.872e-05/0.2825, allocations: 21.47 kB / 0.5161 GB, free: 32.58 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-05/0.2826, allocations: 37.64 kB / 0.5162 GB, free: 32.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/0.2838, allocations: 0.7486 MB / 0.5169 GB, free: 32.35 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002879/0.2867, allocations: 2.64 MB / 0.5195 GB, free: 30.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00129/0.288, allocations: 0.8486 MB / 0.5203 GB, free: 30.36 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005629/0.2885, allocations: 408.9 kB / 0.5207 GB, free: 30.22 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.911e-05/0.2886, allocations: 13.84 kB / 0.5207 GB, free: 30.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.2886, allocations: 42 kB / 0.5208 GB, free: 30.17 MB / 378.7 MB Notification: Performance of pre-optimization done (n=50): time 1.533e-06/0.2886, allocations: 0 / 0.5208 GB, free: 30.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=51): time 0.003187/0.2918, allocations: 2.211 MB / 0.5229 GB, free: 28.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.569e-05/0.2919, allocations: 83.23 kB / 0.523 GB, free: 28.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002918/0.2921, allocations: 397.3 kB / 0.5234 GB, free: 28.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/0.2922, allocations: 36.58 kB / 0.5234 GB, free: 28.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.2923, allocations: 285.1 kB / 0.5237 GB, free: 28.42 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.646e-05/0.2924, allocations: 180.9 kB / 0.5239 GB, free: 28.28 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.115e-05/0.2924, allocations: 8 kB / 0.5239 GB, free: 28.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.519e-05/0.2925, allocations: 358.7 kB / 0.5242 GB, free: 27.94 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004454/0.293, allocations: 289.2 kB / 0.5245 GB, free: 27.86 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004652/0.2934, allocations: 404.9 kB / 0.5249 GB, free: 27.64 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000893/0.2943, allocations: 0.6757 MB / 0.5255 GB, free: 27.32 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.2943, allocations: 0 / 0.5255 GB, free: 27.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001198/0.2955, allocations: 0.9008 MB / 0.5264 GB, free: 26.92 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.2956, allocations: 5.938 kB / 0.5264 GB, free: 26.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.2956, allocations: 6.812 kB / 0.5264 GB, free: 26.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002125/0.2958, allocations: 76.22 kB / 0.5265 GB, free: 26.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/0.2972, allocations: 394.7 kB / 0.5269 GB, free: 26.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003878/0.3011, allocations: 6.179 MB / 0.5329 GB, free: 21.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003425/0.3014, allocations: 51.53 kB / 0.5329 GB, free: 21.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.699e-05/0.3015, allocations: 23.59 kB / 0.533 GB, free: 21.24 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.0002174/0.3017, allocations: 236.2 kB / 0.5332 GB, free: 21.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.358e-05/0.3018, allocations: 49.5 kB / 0.5332 GB, free: 21.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/0.303, allocations: 0.8616 MB / 0.5341 GB, free: 20.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.303, allocations: 6.719 kB / 0.5341 GB, free: 20.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.303, allocations: 0 / 0.5341 GB, free: 20.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.303, allocations: 0 / 0.5341 GB, free: 20.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002168/0.3052, allocations: 1.717 MB / 0.5358 GB, free: 19.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.3052, allocations: 3.25 kB / 0.5358 GB, free: 19.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001524/0.3067, allocations: 423.2 kB / 0.5362 GB, free: 19.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002168/0.307, allocations: 95.19 kB / 0.5363 GB, free: 19.69 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.378e-05/0.307, allocations: 17.48 kB / 0.5363 GB, free: 19.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001354/0.3084, allocations: 2.886 MB / 0.5391 GB, free: 16.92 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.3084, allocations: 3.031 kB / 0.5391 GB, free: 16.92 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0017/0.3101, allocations: 1.362 MB / 0.5404 GB, free: 16.24 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.663e-05/0.3102, allocations: 127 kB / 0.5406 GB, free: 16.12 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.813e-05/0.3103, allocations: 14.09 kB / 0.5406 GB, free: 16.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003373/0.3106, allocations: 44.78 kB / 0.5406 GB, free: 16.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.3107, allocations: 49 kB / 0.5407 GB, free: 16.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.32e-05/0.3108, allocations: 25.16 kB / 0.5407 GB, free: 16.08 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002327/0.311, allocations: 271.6 kB / 0.5409 GB, free: 15.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.311, allocations: 0.875 kB / 0.5409 GB, free: 15.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005609/0.3116, allocations: 148.8 kB / 0.5411 GB, free: 15.93 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.0001354/0.3117, allocations: 119.9 kB / 0.5412 GB, free: 15.83 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002336/0.3141, allocations: 1.204 MB / 0.5424 GB, free: 15.38 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3141, allocations: 3.938 kB / 0.5424 GB, free: 15.38 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001695/0.3158, allocations: 0.9053 MB / 0.5433 GB, free: 15.01 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007705/0.3166, allocations: 121.3 kB / 0.5434 GB, free: 14.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002601/0.3192, allocations: 1.922 MB / 0.5453 GB, free: 13.87 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/0.3195, allocations: 0.9411 MB / 0.5462 GB, free: 13.14 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003969/0.32, allocations: 129.5 kB / 0.5463 GB, free: 13.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.3201, allocations: 43.41 kB / 0.5463 GB, free: 13.11 MB / 378.7 MB Notification: Performance of SimCode: time 6.41e-07/0.3201, allocations: 0 / 0.5463 GB, free: 13.11 MB / 378.7 MB Notification: Performance of Templates: time 0.01414/0.3342, allocations: 7.328 MB / 0.5535 GB, free: 12.12 MB / 378.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.makefile (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) 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