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.001464/0.001464, allocations: 111.2 kB / 17.28 MB, free: 6.199 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.00188/0.00188, allocations: 197.3 kB / 18.21 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.546/2.546, allocations: 222.9 MB / 241.9 MB, free: 15.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.3467/0.3467, allocations: 38.04 MB / 330.1 MB, free: 9.035 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002312/0.002312, allocations: 64.48 kB / 399 MB, free: 34.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1797, allocations: 58.06 MB / 457 MB, free: 8.434 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.01765/0.1975, allocations: 7.806 MB / 464.8 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008837/0.2064, allocations: 2.438 MB / 467.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001419/0.2079, allocations: 47.69 kB / 467.3 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003008/0.2109, allocations: 0.4902 MB / 467.8 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003077/0.214, allocations: 0.5058 MB / 468.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002099/0.2162, allocations: 339.5 kB / 468.6 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002838/0.219, allocations: 1.306 MB / 469.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002102/0.2212, allocations: 0.7558 MB / 470.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001761/0.223, allocations: 0.5527 MB / 471.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002215/0.2252, allocations: 0.7245 MB / 472 MB, free: 9.398 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004871/0.2257, allocations: 96 kB / 472.1 MB, free: 9.305 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002223/0.228, allocations: 0.5499 MB / 472.6 MB, free: 8.754 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001129/0.2291, allocations: 474.9 kB / 473.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001555/0.2307, allocations: 0.5172 MB / 473.6 MB, free: 7.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002669/0.2334, allocations: 1.138 MB / 474.7 MB, free: 6.629 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.2335, allocations: 0 / 474.7 MB, free: 6.629 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.2335, allocations: 0 / 474.7 MB, free: 6.629 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.438e-05/0.2336, allocations: 4 kB / 474.7 MB, free: 6.625 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.006454/0.24, allocations: 1.348 MB / 476.1 MB, free: 5.227 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.92e-05/0.2401, allocations: 11.89 kB / 476.1 MB, free: 5.215 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001887/0.2421, allocations: 143.7 kB / 476.2 MB, free: 5.074 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003246/0.2453, allocations: 0.6515 MB / 476.9 MB, free: 4.383 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005343/0.2459, allocations: 171.6 kB / 477 MB, free: 4.199 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006166/0.2465, allocations: 95.91 kB / 477.1 MB, free: 4.105 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005209/0.2518, allocations: 1.361 MB / 478.5 MB, free: 2.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.789e-05/0.2519, allocations: 3.938 kB / 478.5 MB, free: 2.676 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002168/0.2521, allocations: 35.98 kB / 478.5 MB, free: 2.641 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003094/0.2524, allocations: 61.97 kB / 478.6 MB, free: 2.582 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005069/0.2575, allocations: 1.296 MB / 479.9 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01385/0.2714, allocations: 4.923 MB / 484.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00463/0.2761, allocations: 1.133 MB / 486 MB, free: 11.02 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002347/0.2785, allocations: 0.631 MB / 486.6 MB, free: 10.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001127/0.2787, allocations: 8.562 kB / 486.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.907e-05/0.2788, allocations: 43.06 kB / 486.6 MB, free: 10.33 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 5.721e-06/0.2788, allocations: 0 / 486.6 MB, free: 10.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.01224/0.2911, allocations: 3.175 MB / 489.8 MB, free: 7.059 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/0.2913, allocations: 93.7 kB / 489.9 MB, free: 6.949 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/0.2924, allocations: 461.9 kB / 490.4 MB, free: 6.484 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001374/0.2926, allocations: 37.7 kB / 490.4 MB, free: 6.441 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004976/0.2931, allocations: 391.3 kB / 490.8 MB, free: 6.051 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004437/0.2936, allocations: 260.3 kB / 491 MB, free: 5.793 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004945/0.2941, allocations: 146.6 kB / 491.2 MB, free: 5.645 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002901/0.2944, allocations: 378.7 kB / 491.5 MB, free: 5.266 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00197/0.2964, allocations: 0.4938 MB / 492 MB, free: 4.773 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002205/0.2987, allocations: 0.6842 MB / 492.7 MB, free: 4.016 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003488/0.3022, allocations: 1.216 MB / 493.9 MB, free: 2.727 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.369e-05/0.3022, allocations: 4 kB / 493.9 MB, free: 2.723 MB / 366.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.009818/0.3121, allocations: 1.986 MB / 495.9 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.582e-05/0.3122, allocations: 12.06 kB / 495.9 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008541/0.3207, allocations: 1.722 MB / 497.7 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004014/0.3248, allocations: 0.6456 MB / 498.3 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001446/0.3263, allocations: 155.8 kB / 498.5 MB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02099/0.3473, allocations: 7.418 MB / 0.494 GB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/0.3486, allocations: 79.84 kB / 0.4941 GB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002313/0.3489, allocations: 35.94 kB / 0.4941 GB, free: 6.332 MB / 382.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 (76): * Single equations (assignments): 73 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0009203/0.3498, allocations: 317.5 kB / 0.4944 GB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003614/0.3502, allocations: 63.23 kB / 0.4945 GB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004601/0.3548, allocations: 1.293 MB / 0.4958 GB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.263e-05/0.3549, allocations: 16 kB / 0.4958 GB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.3549, allocations: 0 / 0.4958 GB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.528e-05/0.3549, allocations: 3.984 kB / 0.4958 GB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00653/0.3615, allocations: 2.41 MB / 0.4981 GB, free: 2.102 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/0.3615, allocations: 0 / 0.4981 GB, free: 2.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005145/0.3667, allocations: 0.4954 MB / 0.4986 GB, free: 1.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001892/0.3669, allocations: 32.83 kB / 0.4986 GB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001515/0.3671, allocations: 20 kB / 0.4987 GB, free: 1.551 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001853/0.369, allocations: 1.63 MB / 0.5003 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.369, allocations: 4.031 kB / 0.5003 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009737/0.3788, allocations: 2.004 MB / 0.5022 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004498/0.3793, allocations: 140.2 kB / 0.5023 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003736/0.3797, allocations: 16 kB / 0.5024 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001226/0.3809, allocations: 59.92 kB / 0.5024 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004175/0.3814, allocations: 68.41 kB / 0.5025 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001287/0.3815, allocations: 19.98 kB / 0.5025 GB, free: 13.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007933/0.3824, allocations: 314.9 kB / 0.5028 GB, free: 13.11 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.3824, allocations: 0 / 0.5028 GB, free: 13.11 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001798/0.3842, allocations: 239.9 kB / 0.503 GB, free: 12.87 MB / 398.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 (67): * Single equations (assignments): 64 * Array equations: 1 * 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.0003904/0.3846, allocations: 132.8 kB / 0.5032 GB, free: 12.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00602/0.3906, allocations: 1.836 MB / 0.505 GB, free: 10.87 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/0.3907, allocations: 3.938 kB / 0.505 GB, free: 10.86 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009752/0.4005, allocations: 0.9822 MB / 0.5059 GB, free: 9.867 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002257/0.4028, allocations: 168.7 kB / 0.5061 GB, free: 9.707 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009372/0.4122, allocations: 2.71 MB / 0.5087 GB, free: 6.941 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001328/0.4136, allocations: 1.067 MB / 0.5098 GB, free: 5.848 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006101/0.4142, allocations: 59.42 kB / 0.5098 GB, free: 5.789 MB / 398.1 MB Notification: Performance of SimCode: time 1.974e-06/0.4143, allocations: 0 / 0.5098 GB, free: 5.789 MB / 398.1 MB Notification: Performance of Templates: time 0.3611/0.7754, allocations: 20.15 MB / 0.5295 GB, free: 65.74 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.makefile (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) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Rectifier.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches