Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.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.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 92.17 kB / 16.3 MB, free: 5.625 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.001313/0.001313, allocations: 182.7 kB / 17.2 MB, free: 5.559 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.252/1.252, allocations: 223.2 MB / 241.1 MB, free: 5.102 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2644/0.2644, allocations: 38.08 MB / 330.3 MB, free: 14.04 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002778/0.0002779, allocations: 8 kB / 400 MB, free: 9.152 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2687, allocations: 59.16 MB / 459.1 MB, free: 30.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.00642/0.2752, allocations: 6.652 MB / 465.8 MB, free: 25.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003831/0.2791, allocations: 2.344 MB / 468.1 MB, free: 24.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004751/0.2796, allocations: 43.88 kB / 468.2 MB, free: 24.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004931/0.2801, allocations: 174.3 kB / 468.3 MB, free: 24.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001161/0.2812, allocations: 487.7 kB / 468.8 MB, free: 23.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008601/0.2821, allocations: 338.2 kB / 469.1 MB, free: 23.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007247/0.2828, allocations: 0.6765 MB / 469.8 MB, free: 23.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001061/0.2839, allocations: 0.8347 MB / 470.7 MB, free: 22.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004863/0.2844, allocations: 399.1 kB / 471 MB, free: 22.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006283/0.285, allocations: 485.9 kB / 471.5 MB, free: 22.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.476e-05/0.2852, allocations: 45.19 kB / 471.6 MB, free: 22.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007511/0.2859, allocations: 441.9 kB / 472 MB, free: 22.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003708/0.2863, allocations: 377.5 kB / 472.4 MB, free: 22.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001669/0.2865, allocations: 192.5 kB / 472.5 MB, free: 22.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001116/0.2876, allocations: 1.115 MB / 473.7 MB, free: 21.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.2876, allocations: 0 / 473.7 MB, free: 21.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2876, allocations: 0 / 473.7 MB, free: 21.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.2876, allocations: 0 / 473.7 MB, free: 21.89 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002168/0.2898, allocations: 1.202 MB / 474.9 MB, free: 21.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.2898, allocations: 8.281 kB / 474.9 MB, free: 21.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006954/0.2905, allocations: 154.5 kB / 475 MB, free: 20.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/0.2916, allocations: 0.6431 MB / 475.7 MB, free: 20.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001822/0.2918, allocations: 176.8 kB / 475.8 MB, free: 20.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001854/0.292, allocations: 91.5 kB / 475.9 MB, free: 20.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001917/0.2939, allocations: 1.372 MB / 477.3 MB, free: 19.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/0.294, allocations: 10.02 kB / 477.3 MB, free: 19.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.485e-05/0.2941, allocations: 36.33 kB / 477.3 MB, free: 19.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001407/0.2942, allocations: 57.73 kB / 477.4 MB, free: 19.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002076/0.2963, allocations: 1.338 MB / 478.7 MB, free: 18.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005877/0.3022, allocations: 4.968 MB / 483.7 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001767/0.304, allocations: 1.215 MB / 484.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.799e-05/0.304, allocations: 12.61 kB / 484.9 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.304, allocations: 47.11 kB / 485 MB, free: 13.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.354e-06/0.3041, allocations: 0 / 485 MB, free: 13.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004693/0.3087, allocations: 3.357 MB / 488.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.3088, allocations: 89.62 kB / 488.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003798/0.3092, allocations: 461.9 kB / 488.9 MB, free: 9.664 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.891e-05/0.3092, allocations: 41.62 kB / 488.9 MB, free: 9.617 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/0.3094, allocations: 395.3 kB / 489.3 MB, free: 9.223 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.3095, allocations: 256.3 kB / 489.6 MB, free: 8.969 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-05/0.3096, allocations: 20.03 kB / 489.6 MB, free: 8.949 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.056e-05/0.3097, allocations: 374.8 kB / 489.9 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007298/0.3104, allocations: 0.5094 MB / 490.5 MB, free: 8.062 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007848/0.3112, allocations: 0.6989 MB / 491.1 MB, free: 7.285 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007996/0.312, allocations: 0.5848 MB / 491.7 MB, free: 6.699 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.312, allocations: 4 kB / 491.7 MB, free: 6.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.003658/0.3157, allocations: 2.103 MB / 493.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.3157, allocations: 8 kB / 493.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00324/0.319, allocations: 1.84 MB / 495.7 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001538/0.3205, allocations: 0.7064 MB / 496.4 MB, free: 1.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005445/0.3211, allocations: 151.8 kB / 496.5 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01024/0.3313, allocations: 7.253 MB / 0.492 GB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008027/0.3322, allocations: 84.09 kB / 0.4921 GB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.159e-05/0.3322, allocations: 39.98 kB / 0.4921 GB, free: 10.2 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (77): * Single equations (assignments): 74 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {4 16} Notification: Performance of prepare postOptimizeDAE: time 0.0005342/0.3328, allocations: 309.5 kB / 0.4924 GB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.3329, allocations: 67.2 kB / 0.4925 GB, free: 9.816 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002323/0.3352, allocations: 1.324 MB / 0.4938 GB, free: 8.457 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.179e-05/0.3353, allocations: 12 kB / 0.4938 GB, free: 8.445 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.3353, allocations: 3.938 kB / 0.4938 GB, free: 8.441 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-06/0.3353, allocations: 3.984 kB / 0.4938 GB, free: 8.438 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003852/0.3392, allocations: 2.43 MB / 0.4962 GB, free: 5.922 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.3392, allocations: 0 / 0.4962 GB, free: 5.922 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002681/0.3419, allocations: 0.6362 MB / 0.4968 GB, free: 5.285 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.239e-05/0.342, allocations: 32.78 kB / 0.4968 GB, free: 5.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.773e-05/0.342, allocations: 19.94 kB / 0.4968 GB, free: 5.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009691/0.343, allocations: 1.396 MB / 0.4982 GB, free: 3.703 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.343, allocations: 0 / 0.4982 GB, free: 3.703 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003138/0.3462, allocations: 2.105 MB / 0.5002 GB, free: 1.523 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001961/0.3464, allocations: 136.2 kB / 0.5004 GB, free: 1.371 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.751e-05/0.3465, allocations: 16 kB / 0.5004 GB, free: 1.355 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005108/0.347, allocations: 79.97 kB / 0.5005 GB, free: 1.277 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/0.3471, allocations: 60.47 kB / 0.5005 GB, free: 1.219 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/0.3473, allocations: 20 kB / 0.5005 GB, free: 1.199 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004129/0.3477, allocations: 314.9 kB / 0.5008 GB, free: 0.8945 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3477, allocations: 0 / 0.5008 GB, free: 0.8945 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009505/0.3487, allocations: 228 kB / 0.5011 GB, free: 0.6719 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (68): * Single equations (assignments): 65 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002162/0.3489, allocations: 131.1 kB / 0.5012 GB, free: 0.5312 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002744/0.3516, allocations: 1.59 MB / 0.5027 GB, free: 14.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.3516, allocations: 3.938 kB / 0.5027 GB, free: 14.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002712/0.3544, allocations: 1.154 MB / 0.5039 GB, free: 13.74 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006772/0.3551, allocations: 141.8 kB / 0.504 GB, free: 13.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003952/0.359, allocations: 2.702 MB / 0.5066 GB, free: 10.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006839/0.3597, allocations: 1.099 MB / 0.5077 GB, free: 9.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005514/0.3603, allocations: 213.5 kB / 0.5079 GB, free: 9.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001809/0.3605, allocations: 51.44 kB / 0.508 GB, free: 9.469 MB / 382.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3605, allocations: 0 / 0.508 GB, free: 9.469 MB / 382.1 MB Notification: Performance of Templates: time 0.01933/0.3798, allocations: 12.19 MB / 0.5199 GB, free: 13.35 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.makefile Environment - environmentSimulation: (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Rectifier.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches