Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.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.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008854/0.0008854, allocations: 95.92 kB / 16.3 MB, free: 5.996 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.0009107/0.0009108, allocations: 183.9 kB / 17.2 MB, free: 5.914 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.241/1.241, allocations: 223.2 MB / 241.1 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2723/0.2723, allocations: 38.06 MB / 330.3 MB, free: 14.25 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000301/0.000301, allocations: 8 kB / 400 MB, free: 9.305 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2705, allocations: 59.16 MB / 459.1 MB, free: 30.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.00541/0.2759, allocations: 6.275 MB / 465.4 MB, free: 25.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002513/0.2784, allocations: 1.707 MB / 467.1 MB, free: 24.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003965/0.2789, allocations: 38.81 kB / 467.2 MB, free: 24.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004778/0.2794, allocations: 159.7 kB / 467.3 MB, free: 24.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008073/0.2802, allocations: 359.4 kB / 467.7 MB, free: 24.28 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005659/0.2807, allocations: 211.8 kB / 467.9 MB, free: 24.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006485/0.2814, allocations: 0.5639 MB / 468.4 MB, free: 23.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003385/0.2818, allocations: 247 kB / 468.7 MB, free: 23.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000385/0.2821, allocations: 342.4 kB / 469 MB, free: 23.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005133/0.2827, allocations: 360.3 kB / 469.4 MB, free: 23.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.84e-05/0.2828, allocations: 31.59 kB / 469.4 MB, free: 23.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.243e-05/0.2829, allocations: 31.47 kB / 469.4 MB, free: 23.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002448/0.2831, allocations: 257 kB / 469.7 MB, free: 23.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.2832, allocations: 153.2 kB / 469.8 MB, free: 23.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007352/0.284, allocations: 0.6616 MB / 470.5 MB, free: 23.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.284, allocations: 1.125 kB / 470.5 MB, free: 23.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.284, allocations: 0 / 470.5 MB, free: 23.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.284, allocations: 0 / 470.5 MB, free: 23.23 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.001703/0.2857, allocations: 0.931 MB / 471.4 MB, free: 22.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.2858, allocations: 9.281 kB / 471.4 MB, free: 22.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001255/0.2859, allocations: 73.23 kB / 471.5 MB, free: 22.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008876/0.2868, allocations: 0.5398 MB / 472 MB, free: 22.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001432/0.2869, allocations: 126 kB / 472.2 MB, free: 22.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.208e-05/0.287, allocations: 60.66 kB / 472.2 MB, free: 22.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.2883, allocations: 0.7914 MB / 473 MB, free: 21.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.2883, allocations: 1.031 kB / 473 MB, free: 21.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.5e-05/0.2884, allocations: 26.44 kB / 473 MB, free: 21.72 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001042/0.2885, allocations: 34.48 kB / 473.1 MB, free: 21.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001295/0.2898, allocations: 0.7198 MB / 473.8 MB, free: 21.5 MB / 350.1 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.003583/0.2934, allocations: 2.75 MB / 476.5 MB, free: 19.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001507/0.2949, allocations: 0.9135 MB / 477.5 MB, free: 19.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.897e-05/0.295, allocations: 11.64 kB / 477.5 MB, free: 19.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/0.295, allocations: 41.36 kB / 477.5 MB, free: 19.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 1.954e-06/0.295, allocations: 4 kB / 477.5 MB, free: 19.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=39): time 0.003744/0.2987, allocations: 2.007 MB / 479.5 MB, free: 17.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.2988, allocations: 100.7 kB / 479.6 MB, free: 17.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000397/0.2992, allocations: 416.6 kB / 480 MB, free: 17.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.2993, allocations: 32.36 kB / 480.1 MB, free: 17.28 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.2994, allocations: 318.9 kB / 480.4 MB, free: 17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.003e-05/0.2995, allocations: 134.1 kB / 480.5 MB, free: 16.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.126e-05/0.2995, allocations: 5.969 kB / 480.5 MB, free: 16.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.913e-05/0.2996, allocations: 367.6 kB / 480.9 MB, free: 16.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004395/0.3, allocations: 251.5 kB / 481.1 MB, free: 16.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004715/0.3005, allocations: 367.7 kB / 481.5 MB, free: 16.15 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004598/0.301, allocations: 276.7 kB / 481.7 MB, free: 16.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.301, allocations: 1.031 kB / 481.7 MB, free: 16.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001225/0.3022, allocations: 0.8215 MB / 482.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.3022, allocations: 13.59 kB / 482.6 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.3023, allocations: 3.594 kB / 482.6 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002442/0.3025, allocations: 77.45 kB / 482.6 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/0.304, allocations: 373 kB / 483 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004316/0.3083, allocations: 6.224 MB / 489.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004668/0.3088, allocations: 52.16 kB / 489.3 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.2e-05/0.3088, allocations: 16 kB / 489.3 MB, free: 8.902 MB / 350.1 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 (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003325/0.3092, allocations: 241.6 kB / 489.5 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.582e-05/0.3092, allocations: 47.44 kB / 489.6 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001089/0.3103, allocations: 0.7612 MB / 490.3 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.3104, allocations: 4 kB / 490.3 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/0.3104, allocations: 3.984 kB / 490.4 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.3104, allocations: 0 / 490.4 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002007/0.3124, allocations: 1.538 MB / 491.9 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.3124, allocations: 4 kB / 491.9 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001517/0.3139, allocations: 407.6 kB / 492.3 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002304/0.3142, allocations: 85.64 kB / 492.4 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.16e-05/0.3142, allocations: 15.92 kB / 492.4 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00152/0.3158, allocations: 2.911 MB / 495.3 MB, free: 2.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.3158, allocations: 3.938 kB / 495.3 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001473/0.3172, allocations: 1.193 MB / 496.5 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.619e-05/0.3174, allocations: 120.5 kB / 496.6 MB, free: 1.098 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.415e-05/0.3174, allocations: 15.97 kB / 496.6 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003032/0.3177, allocations: 47.92 kB / 496.7 MB, free: 1.035 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.378e-05/0.3178, allocations: 35.94 kB / 496.7 MB, free: 1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.366e-05/0.3179, allocations: 12 kB / 496.7 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002272/0.3181, allocations: 291.1 kB / 497 MB, free: 0.707 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3181, allocations: 0 / 497 MB, free: 0.707 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006009/0.3187, allocations: 136 kB / 497.1 MB, free: 0.5742 MB / 350.1 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 (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: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001075/0.3188, allocations: 119.5 kB / 497.3 MB, free: 460 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002413/0.3212, allocations: 1.106 MB / 498.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.3213, allocations: 0 / 498.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00188/0.3232, allocations: 0.8222 MB / 499.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006014/0.3238, allocations: 124.3 kB / 499.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002233/0.326, allocations: 1.727 MB / 0.4893 GB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005023/0.3265, allocations: 0.9601 MB / 0.4902 GB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003019/0.3268, allocations: 100.5 kB / 0.4903 GB, free: 11.51 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.327, allocations: 39.42 kB / 0.4904 GB, free: 11.47 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.327, allocations: 0 / 0.4904 GB, free: 11.47 MB / 366.1 MB Notification: Performance of Templates: time 0.01116/0.3381, allocations: 7.009 MB / 0.4972 GB, free: 4.523 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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